public class ClusterMetaData extends Object implements Externalizable
| Constructor and Description |
|---|
ClusterMetaData() |
ClusterMetaData(long version,
URI... locations) |
| Modifier and Type | Method and Description |
|---|---|
String |
getConnectionStrategy() |
Context |
getContext() |
URI |
getLastLocation() |
URI[] |
getLocations() |
long |
getVersion() |
void |
readExternal(ObjectInput in) |
void |
setConnectionStrategy(String connectionStrategy) |
void |
setLastLocation(URI lastLocation) |
void |
setMetaData(ProtocolMetaData metaData) |
void |
writeExternal(ObjectOutput out) |
public ClusterMetaData()
public ClusterMetaData(long version,
URI... locations)
public void setMetaData(ProtocolMetaData metaData)
public Context getContext()
public URI getLastLocation()
public void setLastLocation(URI lastLocation)
public URI[] getLocations()
public long getVersion()
public void setConnectionStrategy(String connectionStrategy)
public String getConnectionStrategy()
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionCopyright © 1999-2014 The Apache Software Foundation. All Rights Reserved.