public class ClusterStateChange<T> extends Object implements IdentifiedDataSerializable
| Constructor and Description | 
|---|
ClusterStateChange()  | 
ClusterStateChange(T newState)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object o)  | 
static <T> ClusterStateChange<T> | 
from(T object)  | 
ClusterState | 
getClusterStateOrNull()  | 
int | 
getFactoryId()
Returns DataSerializableFactory factory ID for this class. 
 | 
int | 
getId()
Returns type identifier for this class. 
 | 
T | 
getNewState()  | 
Class<T> | 
getType()  | 
int | 
hashCode()  | 
<T_SUGGESTED> | 
isOfType(Class<T_SUGGESTED> type)  | 
void | 
readData(ObjectDataInput in)
Reads fields from the input stream 
 | 
String | 
toString()  | 
void | 
validate()  | 
void | 
writeData(ObjectDataOutput out)
Writes object fields to output stream 
 | 
public ClusterStateChange()
public ClusterStateChange(T newState)
public T getNewState()
public <T_SUGGESTED> boolean isOfType(Class<T_SUGGESTED> type)
public ClusterState getClusterStateOrNull()
public void validate()
public static <T> ClusterStateChange<T> from(T object)
public void writeData(ObjectDataOutput out) throws IOException
DataSerializablewriteData in interface DataSerializableout - outputIOException - if an I/O error occurs. In particular,
                     an IOException may be thrown if the
                     output stream has been closed.public void readData(ObjectDataInput in) throws IOException
DataSerializablereadData in interface DataSerializablein - inputIOException - if an I/O error occurs. In particular,
                     an IOException may be thrown if the
                     input stream has been closed.public int getFactoryId()
IdentifiedDataSerializablegetFactoryId in interface IdentifiedDataSerializablepublic int getId()
IdentifiedDataSerializablegetId in interface IdentifiedDataSerializableCopyright © 2019 Hazelcast, Inc.. All Rights Reserved.