K - the key type.V - the value type.public class LegacyCacheConfig<K,V> extends Object implements DataSerializable, TypedDataSerializable
ICache. This class does not support
disablePerEntryInvalidationEvents and eviction policy comparator support.| Constructor and Description |
|---|
LegacyCacheConfig() |
LegacyCacheConfig(CacheConfig<K,V> config) |
| Modifier and Type | Method and Description |
|---|---|
Class |
getClassType() |
CacheConfig<K,V> |
getConfigAndReset() |
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
public LegacyCacheConfig()
public LegacyCacheConfig(CacheConfig<K,V> config)
public void writeData(ObjectDataOutput out) throws IOException
DataSerializablewriteData in interface DataSerializableout - outputIOExceptionpublic void readData(ObjectDataInput in) throws IOException
DataSerializablereadData in interface DataSerializablein - inputIOExceptionpublic Class getClassType()
getClassType in interface TypedDataSerializablepublic CacheConfig<K,V> getConfigAndReset()
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.