K - the key typeV - the value typepublic class LegacyCacheConfig<K,V> extends Object implements TypedDataSerializable
ICache (used for backward compatibility).
 This class does not support disablePerEntryInvalidationEvents and has no 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 - outputIOException - if an I/O error occurs. In particular,
                     an IOException may be thrown if the
                     output stream has been closed.public void readData(ObjectDataInput in) throws IOException
DataSerializablereadData in interface DataSerializablein - inputIOException - if an I/O error occurs. In particular,
                     an IOException may be thrown if the
                     input stream has been closed.public Class getClassType()
getClassType in interface TypedDataSerializablepublic CacheConfig<K,V> getConfigAndReset()
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.