public class VisorServiceConfiguration extends VisorDataTransferObject
Constructor and Description |
---|
VisorServiceConfiguration()
Default constructor.
|
VisorServiceConfiguration(ServiceConfiguration src)
Create data transfer object for service configuration.
|
Modifier and Type | Method and Description |
---|---|
String |
getAffinityKey() |
String |
getCacheName() |
int |
getMaxPerNodeCount() |
String |
getName() |
String |
getNodeFilter() |
String |
getService() |
int |
getTotalCount() |
static List<VisorServiceConfiguration> |
list(ServiceConfiguration[] cfgs)
Construct data transfer object for service configurations properties.
|
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, writeExternal
public VisorServiceConfiguration()
public VisorServiceConfiguration(ServiceConfiguration src)
src
- Service configuration.public static List<VisorServiceConfiguration> list(ServiceConfiguration[] cfgs)
cfgs
- Service configurations.public String getName()
public String getService()
public int getTotalCount()
0
for unlimited.public int getMaxPerNodeCount()
0
for unlimited.public String getCacheName()
null
.public String getAffinityKey()
null
.public String getNodeFilter()
null
.protected void writeExternalData(ObjectOutput out) throws IOException
writeExternalData
in class VisorDataTransferObject
out
- 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 VisorDataTransferObject
protoVer
- 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.0.0 Release Date : April 30 2017