public class ClientRoute extends Object implements Cacheable, Externalizable
| Constructor and Description |
|---|
ClientRoute() |
ClientRoute(NodeID nodeID,
boolean available) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCachedSize()
Returns the approximate size of the Object in bytes.
|
NodeID |
getNodeID() |
boolean |
isAvailable() |
void |
readExternal(ObjectInput in) |
void |
setNodeID(NodeID nodeID) |
void |
writeExternal(ObjectOutput out) |
public ClientRoute()
public ClientRoute(NodeID nodeID, boolean available)
public NodeID getNodeID()
public void setNodeID(NodeID nodeID)
public boolean isAvailable()
public int getCachedSize()
CacheablegetCachedSize in interface Cacheablepublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionCopyright © 2003–2019 Ignite Realtime. All rights reserved.