V - the value type@PublicApi
public interface ExternalWriteOperationsUnbuffered<V>
ExternalCache.| Modifier and Type | Method and Description |
|---|---|
CompletionStage<Boolean> |
put(String key,
V value,
PutPolicy policy)
Puts the value under the specified key using the specified policy.
|
CompletionStage<Void> |
remove(Iterable<String> keys)
Remove the entries with the specified keys.
|
default CompletionStage<Void> |
remove(String... keys)
Remove the entries with the specified keys.
|
CompletionStage<Void> |
removeAll()
Remove all entries in the cache.
|
CompletionStage<Boolean> put(String key, V value, PutPolicy policy)
key - the key to put the data undervalue - the value to associate with the key.policy - the policy to applydefault CompletionStage<Void> remove(String... keys)
keys - the keys of the entries to remove.CompletionStage<Void> remove(Iterable<String> keys)
keys - the keys of the entries to remove.CompletionStage<Void> removeAll()
Copyright © 2016 Atlassian. All rights reserved.