K
- the key type.V
- the value type.public 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
DataSerializable
writeData
in interface DataSerializable
out
- outputIOException
public void readData(ObjectDataInput in) throws IOException
DataSerializable
readData
in interface DataSerializable
in
- inputIOException
public Class getClassType()
getClassType
in interface TypedDataSerializable
public CacheConfig<K,V> getConfigAndReset()
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.