V - the value type@PublicApi
public interface ExternalWriteOperationsUnbuffered<V>
ExternalCache.| Modifier and Type | Method and Description |
|---|---|
java.util.concurrent.CompletionStage<java.lang.Boolean> |
put(java.lang.String key,
V value,
PutPolicy policy)
Puts the value under the specified key using the specified policy.
|
java.util.concurrent.CompletionStage<java.lang.Void> |
remove(java.lang.Iterable<java.lang.String> keys)
Remove the entries with the specified keys.
|
default java.util.concurrent.CompletionStage<java.lang.Void> |
remove(java.lang.String... keys)
Remove the entries with the specified keys.
|
java.util.concurrent.CompletionStage<java.lang.Void> |
removeAll()
Remove all entries in the cache.
|
java.util.concurrent.CompletionStage<java.lang.Boolean> put(java.lang.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 java.util.concurrent.CompletionStage<java.lang.Void> remove(java.lang.String... keys)
keys - the keys of the entries to remove.java.util.concurrent.CompletionStage<java.lang.Void> remove(java.lang.Iterable<java.lang.String> keys)
keys - the keys of the entries to remove.java.util.concurrent.CompletionStage<java.lang.Void> removeAll()
Copyright © 2022 Atlassian. All rights reserved.