public class VisorCacheStoreConfiguration extends VisorDataTransferObject
Constructor and Description |
---|
VisorCacheStoreConfiguration()
Default constructor.
|
VisorCacheStoreConfiguration(IgniteEx ignite,
CacheConfiguration ccfg)
Create data transfer object for cache store configuration properties.
|
Modifier and Type | Method and Description |
---|---|
int |
getBatchSize() |
long |
getFlushFrequency() |
int |
getFlushSize() |
int |
getFlushThreadCount() |
String |
getStore() |
String |
getStoreFactory() |
boolean |
getWriteBehindCoalescing() |
boolean |
isEnabled() |
boolean |
isJdbcStore() |
boolean |
isReadThrough() |
boolean |
isStoreKeepBinary() |
boolean |
isWriteBehindEnabled() |
boolean |
isWriteThrough() |
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 VisorCacheStoreConfiguration()
public VisorCacheStoreConfiguration(IgniteEx ignite, CacheConfiguration ccfg)
ignite
- Ignite instance.ccfg
- Cache configuration.public boolean isEnabled()
true
if cache has store.public boolean isJdbcStore()
true
if cache has JDBC store.@Nullable public String getStore()
public String getStoreFactory()
public boolean isReadThrough()
public boolean isWriteThrough()
public boolean isWriteBehindEnabled()
public int getBatchSize()
public long getFlushFrequency()
public int getFlushSize()
public int getFlushThreadCount()
public boolean isStoreKeepBinary()
public boolean getWriteBehindCoalescing()
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