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 |
writeExternal(ObjectOutput out) |
public ClientRoute()
public ClientRoute(NodeID nodeID, boolean available)
public NodeID getNodeID()
public boolean isAvailable()
public int getCachedSize()
Cacheable
getCachedSize
in interface Cacheable
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
Copyright © 2003-2008 Jive Software.