public class VisorCacheLoadTaskArg extends VisorDataTransferObject
VisorCacheLoadTask.V1, V2, V3| Constructor and Description |
|---|
VisorCacheLoadTaskArg()
Default constructor.
|
VisorCacheLoadTaskArg(Set<String> cacheNames,
long ttl,
Object[] ldrArgs) |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getCacheNames() |
Object[] |
getLoaderArguments() |
long |
getTtl() |
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 VisorCacheLoadTaskArg()
public VisorCacheLoadTaskArg(Set<String> cacheNames, long ttl, Object[] ldrArgs)
cacheNames - Cache names to load data.ttl - Duration a Cache Entry should exist be before it expires after being modified.ldrArgs - Optional user arguments to be passed into CacheStore.loadCache(IgniteBiInClosure, Object...) method.public long getTtl()
public Object[] getLoaderArguments()
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