Modifier and Type | Field and Description |
---|---|
static SerializationHandle<BucketConfiguration> |
BucketConfiguration.SERIALIZATION_HANDLE |
Modifier and Type | Method and Description |
---|---|
BucketConfiguration |
ConfigurationBuilder.build() |
BucketConfiguration |
ConfigurationBuilder.buildConfiguration()
Deprecated.
|
BucketConfiguration |
VerboseResult.getConfiguration() |
BucketConfiguration |
IncompatibleConfigurationException.getNewConfiguration() |
BucketConfiguration |
IncompatibleConfigurationException.getPreviousConfiguration() |
protected abstract BucketConfiguration |
AbstractBucket.replaceConfigurationImpl(BucketConfiguration newConfiguration) |
Modifier and Type | Method and Description |
---|---|
protected abstract VerboseResult<BucketConfiguration> |
AbstractBucket.replaceConfigurationVerboseImpl(BucketConfiguration newConfiguration) |
Modifier and Type | Method and Description |
---|---|
static void |
LimitChecker.checkConfiguration(BucketConfiguration newConfiguration) |
static BucketState |
BucketState.createInitialState(BucketConfiguration configuration,
MathType mathType,
long currentTimeNanos) |
boolean |
BucketConfiguration.equalsByContent(BucketConfiguration other) |
boolean |
BucketConfiguration.isCompatible(BucketConfiguration newConfiguration) |
void |
Bucket.replaceConfiguration(BucketConfiguration newConfiguration)
Replaces configuration of this bucket instance.
|
VerboseResult<Nothing> |
VerboseBucket.replaceConfiguration(BucketConfiguration newConfiguration)
Does the same that
Bucket.replaceConfiguration(BucketConfiguration) |
void |
AbstractBucket.replaceConfiguration(BucketConfiguration newConfiguration) |
protected abstract BucketConfiguration |
AbstractBucket.replaceConfigurationImpl(BucketConfiguration newConfiguration) |
protected abstract VerboseResult<BucketConfiguration> |
AbstractBucket.replaceConfigurationVerboseImpl(BucketConfiguration newConfiguration) |
Constructor and Description |
---|
BucketState64BitsInteger(BucketConfiguration configuration,
long currentTimeNanos) |
BucketStateIEEE754(BucketConfiguration configuration,
long currentTimeNanos) |
IncompatibleConfigurationException(BucketConfiguration previousConfiguration,
BucketConfiguration newConfiguration) |
VerboseResult(long operationTimeNanos,
T value,
BucketConfiguration configuration,
BucketState state) |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<Void> |
AsyncBucketProxyAdapter.replaceConfiguration(BucketConfiguration newConfiguration) |
CompletableFuture<VerboseResult<Nothing>> |
AsyncVerboseBucket.replaceConfiguration(BucketConfiguration newConfiguration)
Does the same that
Bucket.replaceConfiguration(BucketConfiguration) |
CompletableFuture<Void> |
AsyncBucketProxy.replaceConfiguration(BucketConfiguration newConfiguration)
Asynchronous version of
Bucket.replaceConfiguration(BucketConfiguration) , follows the same rules and semantic. |
Modifier and Type | Method and Description |
---|---|
protected BucketConfiguration |
DefaultBucketProxy.replaceConfigurationImpl(BucketConfiguration newConfiguration) |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<Optional<BucketConfiguration>> |
AsyncBackend.getProxyConfiguration(K key)
TODO
Locates configuration of bucket which actually stored outside current JVM.
|
Optional<BucketConfiguration> |
AbstractBackend.getProxyConfiguration(K key) |
Optional<BucketConfiguration> |
Backend.getProxyConfiguration(K key)
Locates configuration of bucket which actually stored outside current JVM.
|
protected VerboseResult<BucketConfiguration> |
DefaultBucketProxy.replaceConfigurationVerboseImpl(BucketConfiguration newConfiguration) |
Modifier and Type | Method and Description |
---|---|
AsyncBucketProxy |
RemoteAsyncBucketBuilder.buildProxy(K key,
BucketConfiguration configuration)
TODO
|
BucketProxy |
RemoteBucketBuilder.buildProxy(K key,
BucketConfiguration configuration)
TODO
|
CompletableFuture<Void> |
DefaultAsyncBucketProxy.replaceConfiguration(BucketConfiguration newConfiguration) |
protected BucketConfiguration |
DefaultBucketProxy.replaceConfigurationImpl(BucketConfiguration newConfiguration) |
protected VerboseResult<BucketConfiguration> |
DefaultBucketProxy.replaceConfigurationVerboseImpl(BucketConfiguration newConfiguration) |
Modifier and Type | Method and Description |
---|---|
BucketProxy |
RemoteBucketBuilder.buildProxy(K key,
Supplier<BucketConfiguration> configurationSupplier)
TODO
|
AsyncBucketProxy |
RemoteAsyncBucketBuilder.buildProxy(K key,
Supplier<CompletableFuture<BucketConfiguration>> configurationSupplier)
TODO
|
Constructor and Description |
---|
DefaultAsyncBucketProxy(AsyncCommandExecutor commandExecutor,
RecoveryStrategy recoveryStrategy,
Supplier<CompletableFuture<BucketConfiguration>> configurationSupplier) |
DefaultBucketProxy(Supplier<BucketConfiguration> configurationSupplier,
CommandExecutor commandExecutor,
RecoveryStrategy recoveryStrategy) |
Modifier and Type | Method and Description |
---|---|
BucketConfiguration |
RemoteBucketState.getConfiguration() |
BucketConfiguration |
RemoteBucketState.replaceConfigurationOrReturnPrevious(BucketConfiguration newConfiguration) |
Modifier and Type | Method and Description |
---|---|
BucketConfiguration |
RemoteBucketState.replaceConfigurationOrReturnPrevious(BucketConfiguration newConfiguration) |
Constructor and Description |
---|
RemoteBucketState(BucketConfiguration configuration,
BucketState state,
RemoteStat stat) |
Modifier and Type | Method and Description |
---|---|
BucketConfiguration |
CreateInitialStateAndExecuteCommand.getConfiguration() |
BucketConfiguration |
CreateInitialStateCommand.getConfiguration() |
BucketConfiguration |
ReplaceConfigurationOrReturnPreviousCommand.getNewConfiguration() |
Modifier and Type | Method and Description |
---|---|
CommandResult<BucketConfiguration> |
ReplaceConfigurationOrReturnPreviousCommand.execute(MutableBucketEntry mutableEntry,
long currentTimeNanos) |
CommandResult<BucketConfiguration> |
GetConfigurationCommand.execute(MutableBucketEntry mutableEntry,
long currentTimeNanos) |
Modifier and Type | Method and Description |
---|---|
long |
ReplaceConfigurationOrReturnPreviousCommand.getConsumedTokens(BucketConfiguration result) |
long |
GetConfigurationCommand.getConsumedTokens(BucketConfiguration result) |
Constructor and Description |
---|
CreateInitialStateAndExecuteCommand(BucketConfiguration configuration,
RemoteCommand<T> targetCommand) |
CreateInitialStateCommand(BucketConfiguration configuration) |
ReplaceConfigurationOrReturnPreviousCommand(BucketConfiguration newConfiguration) |
Modifier and Type | Method and Description |
---|---|
BucketConfiguration |
LocalBucket.getConfiguration()
Returns configuration of this bucket.
|
BucketConfiguration |
SynchronizedBucket.getConfiguration() |
BucketConfiguration |
LockFreeBucket.getConfiguration() |
protected BucketConfiguration |
SynchronizedBucket.replaceConfigurationImpl(BucketConfiguration newConfiguration) |
protected BucketConfiguration |
LockFreeBucket.replaceConfigurationImpl(BucketConfiguration newConfiguration) |
Modifier and Type | Method and Description |
---|---|
protected VerboseResult<BucketConfiguration> |
SynchronizedBucket.replaceConfigurationVerboseImpl(BucketConfiguration newConfiguration) |
protected VerboseResult<BucketConfiguration> |
LockFreeBucket.replaceConfigurationVerboseImpl(BucketConfiguration newConfiguration) |
Modifier and Type | Method and Description |
---|---|
protected BucketConfiguration |
SynchronizedBucket.replaceConfigurationImpl(BucketConfiguration newConfiguration) |
protected BucketConfiguration |
LockFreeBucket.replaceConfigurationImpl(BucketConfiguration newConfiguration) |
protected VerboseResult<BucketConfiguration> |
SynchronizedBucket.replaceConfigurationVerboseImpl(BucketConfiguration newConfiguration) |
protected VerboseResult<BucketConfiguration> |
LockFreeBucket.replaceConfigurationVerboseImpl(BucketConfiguration newConfiguration) |
Constructor and Description |
---|
LockFreeBucket(BucketConfiguration configuration,
MathType mathType,
TimeMeter timeMeter) |
SynchronizedBucket(BucketConfiguration configuration,
MathType mathType,
TimeMeter timeMeter) |
Copyright © 2020. All rights reserved.