ExportQueue.configure(String)
@Deprecated public static class ExportQueue.Options extends Object
Constructor and Description |
---|
Options(String queueId,
Class<? extends Exporter<K,V>> exporter,
Class<K> keyType,
Class<V> valueType,
int buckets)
Deprecated.
|
Options(String queueId,
String exporterType,
String keyType,
String valueType,
int buckets)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
org.apache.fluo.api.config.SimpleConfiguration |
getExporterConfiguration()
Deprecated.
|
String |
getQueueId()
Deprecated.
|
ExportQueue.Options |
setBucketsPerTablet(int bucketsPerTablet)
Deprecated.
Sets the number of buckets per tablet to generate.
|
ExportQueue.Options |
setBufferSize(long bufferSize)
Deprecated.
Sets a limit on the amount of serialized updates to read into memory.
|
ExportQueue.Options |
setExporterConfiguration(org.apache.fluo.api.config.SimpleConfiguration config)
Deprecated.
|
public Options(String queueId, String exporterType, String keyType, String valueType, int buckets)
public ExportQueue.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 export key values are processed in the current transaction. When not everything is processed, the observer processing exports will notify itself causing another transaction to continue processing later.
public ExportQueue.Options setBucketsPerTablet(int bucketsPerTablet)
public ExportQueue.Options setExporterConfiguration(org.apache.fluo.api.config.SimpleConfiguration config)
public org.apache.fluo.api.config.SimpleConfiguration getExporterConfiguration()
public String getQueueId()
Copyright © 2016–2018 The Apache Software Foundation. All rights reserved.