public class VisorCacheModifyTaskArg extends VisorDataTransferObject
VisorCacheModifyTask.V1, V2, V3| Constructor and Description |
|---|
VisorCacheModifyTaskArg()
Default constructor.
|
VisorCacheModifyTaskArg(String cacheName,
VisorModifyCacheMode mode,
Object key,
Object value) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCacheName() |
Object |
getKey() |
VisorModifyCacheMode |
getMode() |
Object |
getValue() |
protected void |
readExternalData(byte protoVer,
ObjectInput in)
Load object's specific data content.
|
String |
toString() |
protected void |
writeExternalData(ObjectOutput out)
Save object's specific data content.
|
getProtocolVersion, readExternal, toList, toSet, writeExternalpublic VisorCacheModifyTaskArg()
public VisorCacheModifyTaskArg(String cacheName, VisorModifyCacheMode mode, Object key, Object value)
cacheName - Cache name.mode - Modification mode.key - Specified key.value - Specified value.public String getCacheName()
public VisorModifyCacheMode getMode()
public Object getKey()
public Object getValue()
protected void writeExternalData(ObjectOutput out) throws IOException
writeExternalData in class VisorDataTransferObjectout - Output object to write data content.IOException - If I/O errors occur.protected void readExternalData(byte protoVer,
ObjectInput in)
throws IOException,
ClassNotFoundException
readExternalData in class VisorDataTransferObjectprotoVer - Input object version.in - Input object to load data content.IOException - If I/O errors occur.ClassNotFoundException - If the class for an object being restored cannot be found.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.4.0 Release Date : March 5 2018