@Deprecated public static class CollisionFreeMap.Options extends Object
Constructor and Description |
---|
Options(String mapId,
Class<? extends Combiner<K,V>> combiner,
Class<? extends UpdateObserver<K,V>> updateObserver,
Class<K> keyType,
Class<V> valueType,
int buckets)
Deprecated.
|
Options(String mapId,
Class<? extends Combiner<K,V>> combiner,
Class<K> keyType,
Class<V> valueType,
int buckets)
Deprecated.
|
Options(String mapId,
String combinerType,
String keyType,
String valType,
int buckets)
Deprecated.
|
Options(String mapId,
String combinerType,
String updateObserverType,
String keyType,
String valueType,
int buckets)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
CollisionFreeMap.Options |
setBucketsPerTablet(int bucketsPerTablet)
Deprecated.
Sets the number of buckets per tablet to generate.
|
CollisionFreeMap.Options |
setBufferSize(long bufferSize)
Deprecated.
Sets a limit on the amount of serialized updates to read into memory.
|
public Options(String mapId, String combinerType, String keyType, String valType, int buckets)
public Options(String mapId, String combinerType, String updateObserverType, String keyType, String valueType, int buckets)
public Options(String mapId, Class<? extends Combiner<K,V>> combiner, Class<K> keyType, Class<V> valueType, int buckets)
public CollisionFreeMap.Options setBufferSize(long bufferSize)
The way memory read is calculated is by summing the length of serialized key and value byte arrays. Once this sum exceeds the configured memory limit, no more update key values are processed in the current transaction. When not everything is processed, the observer processing updates will notify itself causing another transaction to continue processing later
public CollisionFreeMap.Options setBucketsPerTablet(int bucketsPerTablet)
Copyright © 2016–2018 The Apache Software Foundation. All rights reserved.