public class ClusterRequest extends java.lang.Object implements Request
| Constructor and Description |
|---|
ClusterRequest() |
ClusterRequest(ClusterMetaData clusterMetaData) |
| Modifier and Type | Method and Description |
|---|---|
long |
getClusterMetaDataVersion() |
RequestType |
getRequestType() |
void |
readExternal(java.io.ObjectInput in)
Changes to this method must observe the optional
metaData version |
void |
setMetaData(ProtocolMetaData metaData)
Set the protocol metadata that can be used for versioned requests
|
void |
writeExternal(java.io.ObjectOutput out)
Changes to this method must observe the optional
metaData version |
public ClusterRequest()
public ClusterRequest(ClusterMetaData clusterMetaData)
public void setMetaData(ProtocolMetaData metaData)
RequestsetMetaData in interface RequestmetaData - ProtocolMetaDatapublic RequestType getRequestType()
getRequestType in interface Requestpublic long getClusterMetaDataVersion()
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
metaData versionreadExternal in interface java.io.ExternalizablereadExternal in interface Requestjava.io.IOExceptionjava.lang.ClassNotFoundExceptionpublic void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
metaData versionwriteExternal in interface java.io.ExternalizablewriteExternal in interface Requestjava.io.IOException