public class CacheBatchInvalidationMessage extends CacheInvalidationMessage
name
Constructor and Description |
---|
CacheBatchInvalidationMessage() |
CacheBatchInvalidationMessage(String name) |
CacheBatchInvalidationMessage(String name,
int expectedMessageCount) |
CacheBatchInvalidationMessage(String name,
List<CacheSingleInvalidationMessage> invalidationMessages) |
Modifier and Type | Method and Description |
---|---|
CacheBatchInvalidationMessage |
addInvalidationMessage(CacheSingleInvalidationMessage invalidationMessage) |
int |
getId()
Returns type identifier for this class.
|
List<CacheSingleInvalidationMessage> |
getInvalidationMessages() |
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
String |
toString() |
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
getFactoryId, getKey, getName, getSourceUuid
public CacheBatchInvalidationMessage()
public CacheBatchInvalidationMessage(String name)
public CacheBatchInvalidationMessage(String name, int expectedMessageCount)
public CacheBatchInvalidationMessage(String name, List<CacheSingleInvalidationMessage> invalidationMessages)
public CacheBatchInvalidationMessage addInvalidationMessage(CacheSingleInvalidationMessage invalidationMessage)
public List<CacheSingleInvalidationMessage> getInvalidationMessages()
public int getId()
IdentifiedDataSerializable
public void writeData(ObjectDataOutput out) throws IOException
DataSerializable
writeData
in interface DataSerializable
writeData
in class CacheInvalidationMessage
out
- outputIOException
public void readData(ObjectDataInput in) throws IOException
DataSerializable
readData
in interface DataSerializable
readData
in class CacheInvalidationMessage
in
- inputIOException
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.