public class ClusterMetaData
extends java.lang.Object
implements java.io.Externalizable
| Constructor and Description |
|---|
ClusterMetaData() |
ClusterMetaData(long version,
java.net.URI... locations) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getConnectionStrategy() |
Context |
getContext() |
java.net.URI |
getLastLocation() |
java.net.URI[] |
getLocations() |
long |
getVersion() |
void |
readExternal(java.io.ObjectInput in) |
void |
setConnectionStrategy(java.lang.String connectionStrategy) |
void |
setLastLocation(java.net.URI lastLocation) |
void |
setMetaData(ProtocolMetaData metaData) |
void |
writeExternal(java.io.ObjectOutput out) |
public ClusterMetaData()
public ClusterMetaData(long version,
java.net.URI... locations)
public void setMetaData(ProtocolMetaData metaData)
public Context getContext()
public java.net.URI getLastLocation()
public void setLastLocation(java.net.URI lastLocation)
public java.net.URI[] getLocations()
public long getVersion()
public void setConnectionStrategy(java.lang.String connectionStrategy)
public java.lang.String getConnectionStrategy()
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOExceptionjava.lang.ClassNotFoundExceptionpublic void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOException