class ServerInfo extends AnyRef
Provide connection information for the client to the server node in cache.
- Alphabetic
- By Inheritance
- ServerInfo
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
ServerInfo(ip: InetAddress, port: Int)
Initializes new instance of ServerInfo.
Initializes new instance of ServerInfo.
- ip
Specifies
InetAddress
of the server node where cache is running.- port
Specifies port for client to connect to the server node.
-
new
ServerInfo(ip: InetAddress)
Initializes new instance of ServerInfo.
Initializes new instance of ServerInfo.
- ip
Specifies
InetAddress
of the server node where cache is running.
-
new
ServerInfo(name: String, port: Int)
Initializes a new instance of ServerInfo.
Initializes a new instance of ServerInfo.
- name
Specifies name of the server node where cache is running.
- port
Specifies port for client to connect to the server node.
-
new
ServerInfo(name: String)
Initializes a new instance of ServerInfo.
Initializes a new instance of ServerInfo.
- name
Specifies name of the server node where cache is running.
-
new
ServerInfo()
Initializes a new instance of ServerInfo.
- new ServerInfo(internalServerInfo: NCServerInfo)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
compareTo(obj: Any): Int
Compares the ServerInfo on the basis of priority
Compares the ServerInfo on the basis of priority
- obj
The server info object to compare.
- returns
0 if equals, -1 if lesser and 1 if greater than the comparing serverInfo
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(obj: Any): Boolean
Compares two ServerInfo instances.
Compares two ServerInfo instances.
- obj
The server info object to compare.
- returns
True if specified object is equal to this object otherwise false.
- Definition Classes
- ServerInfo → AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getIP: InetAddress
Gets the IPAddress of the server node where cache is running.
Gets the IPAddress of the server node where cache is running.
- returns
The IPAddress of the server node where cache is running.
-
def
getName: String
Gets the name of the server node where cache is running.
Gets the name of the server node where cache is running.
- returns
The name of the server node where cache is running.
-
def
getPort: Int
Gets the port for client to connect to the server node.
Gets the port for client to connect to the server node.
- returns
The port for client to connect to the server node.
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- var internalServerInfo: <error>
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
setIP(value: String): Unit
Sets the IPAddress of the server node where cache is running.
Sets the IPAddress of the server node where cache is running.
- value
The IPAddress of the server node where cache is running in form of a string.
-
def
setIP(value: InetAddress): Unit
Sets the IPAddress of the server node where cache is running.
Sets the IPAddress of the server node where cache is running.
- value
The IPAddress of the server node where cache is running.
-
def
setName(value: String): Unit
Gets the name of the server node where cache is running.
Gets the name of the server node where cache is running.
- value
The name of the server node where cache is running.
-
def
setPort(value: Int): Unit
Sets the port for client to connect to the server node.
Sets the port for client to connect to the server node.
- value
The port for client to connect to the server node.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
Converts the value of this instance to its equivalent string representation.
Converts the value of this instance to its equivalent string representation.
- returns
The string representation of ServerInfo.
- Definition Classes
- ServerInfo → AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated