Class CacheConfigurationCollectorTaskArg
- java.lang.Object
-
- org.apache.ignite.internal.visor.VisorDataTransferObject
-
- org.apache.ignite.internal.management.cache.CacheConfigurationCollectorTaskArg
-
- All Implemented Interfaces:
Externalizable,Serializable
public class CacheConfigurationCollectorTaskArg extends VisorDataTransferObject
Argument forCacheConfigurationCollectorTask.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CacheConfigurationCollectorTaskArg()Default constructor.CacheConfigurationCollectorTaskArg(String regex)CacheConfigurationCollectorTaskArg(Collection<String> cacheNames)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<String>getCacheNames()bytegetProtocolVersion()StringgetRegex()protected voidreadExternalData(byte protoVer, ObjectInput in)Load object's specific data content.StringtoString()protected voidwriteExternalData(ObjectOutput out)Save object's specific data content.-
Methods inherited from class org.apache.ignite.internal.visor.VisorDataTransferObject
readExternal, toList, toSet, writeExternal
-
-
-
-
Constructor Detail
-
CacheConfigurationCollectorTaskArg
public CacheConfigurationCollectorTaskArg()
Default constructor.
-
CacheConfigurationCollectorTaskArg
public CacheConfigurationCollectorTaskArg(Collection<String> cacheNames)
- Parameters:
cacheNames- Collection of cache names.
-
CacheConfigurationCollectorTaskArg
public CacheConfigurationCollectorTaskArg(String regex)
- Parameters:
regex- Cache name regexp.
-
-
Method Detail
-
getCacheNames
public Collection<String> getCacheNames()
- Returns:
- Collection of cache deployment IDs.
-
getRegex
public String getRegex()
- Returns:
- Cache name regexp.
-
getProtocolVersion
public byte getProtocolVersion()
- Overrides:
getProtocolVersionin classVisorDataTransferObject- Returns:
- Transfer object version.
-
writeExternalData
protected void writeExternalData(ObjectOutput out) throws IOException
Save object's specific data content.- Specified by:
writeExternalDatain classVisorDataTransferObject- Parameters:
out- Output object to write data content.- Throws:
IOException- If I/O errors occur.
-
readExternalData
protected void readExternalData(byte protoVer, ObjectInput in) throws IOException, ClassNotFoundExceptionLoad object's specific data content.- Specified by:
readExternalDatain classVisorDataTransferObject- Parameters:
protoVer- Input object version.in- Input object to load data content.- Throws:
IOException- If I/O errors occur.ClassNotFoundException- If the class for an object being restored cannot be found.
-
-