| Modifier and Type | Method and Description |
|---|---|
RemoteAsyncBucketBuilder<K> |
RemoteAsyncBucketBuilder.withOptimization(Optimization optimization)
Configures the optimization strategy that will be applied for buckets that are built by this builder.
|
RemoteBucketBuilder<K> |
RemoteBucketBuilder.withOptimization(Optimization optimization)
Configures the optimization strategy that will be applied for buckets that are built by this builder.
|
| Modifier and Type | Field and Description |
|---|---|
static Optimization |
Optimization.NONE_OPTIMIZED |
| Modifier and Type | Method and Description |
|---|---|
static Optimization |
Optimizations.batching()
Creates optimization that combines independent requests to same bucket into batches in order to reduce request count to remote storage.
|
static Optimization |
Optimizations.delaying(DelayParameters delayParameters)
Creates optimization that can serve requests locally without synchronization with external storage until thresholds are not violated.
|
static Optimization |
Optimizations.predicting(DelayParameters delayParameters)
Has the same semantic as
Optimizations.predicting(DelayParameters, PredictionParameters) but uses default PredictionParameters. |
static Optimization |
Optimizations.predicting(DelayParameters delayParameters,
PredictionParameters predictionParameters)
Creates optimization that can serve requests locally without synchronization with external storage until thresholds are not violated,
and additionally tries to predict aggregated consumption rate in whole cluster in order to reduce the risk of overconsumption that caused by
DelayOptimization. |
Optimization |
Optimization.withListener(OptimizationListener listener)
Specifies the listener for optimization events
|
| Modifier and Type | Class and Description |
|---|---|
class |
BatchingOptimization
Optimization that combines independent requests to same bucket into batches in order to reduce request count to remote storage.
|
| Modifier and Type | Method and Description |
|---|---|
Optimization |
BatchingOptimization.withListener(OptimizationListener listener) |
| Modifier and Type | Class and Description |
|---|---|
class |
DelayOptimization
Optimization that can serve requests locally without synchronization with external storage until thresholds are not violated.
|
| Modifier and Type | Method and Description |
|---|---|
Optimization |
DelayOptimization.withListener(OptimizationListener listener) |
| Modifier and Type | Class and Description |
|---|---|
class |
PredictiveOptimization
Optimization that can serve requests locally without synchronization with external storage until thresholds are not violated.
|
| Modifier and Type | Method and Description |
|---|---|
Optimization |
PredictiveOptimization.withListener(OptimizationListener listener) |
Copyright © 2022. All rights reserved.