@Internal @Deprecated public class CacheOperations<K,V> extends Object
DeferredOperationsCache
Constructor and Description |
---|
CacheOperations()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
cache(K key,
V value)
Deprecated.
|
void |
clear()
Deprecated.
Clear all recorded cache cachedOperations
|
Set<K> |
filter(Iterable<K> globalKeys)
Deprecated.
Filters the supplied list of keys by adding those from any 'put' operations and removing those from any 'remove'
operations.
|
V |
get(K key)
Deprecated.
|
boolean |
isRemoved(K key)
Deprecated.
|
int |
operationCount()
Deprecated.
|
void |
perform(com.atlassian.cache.Cache<K,V> cache)
Deprecated.
Perform all recorded cachedOperations on the provided cache
|
void |
put(K key,
V value)
Deprecated.
|
int |
putCount()
Deprecated.
|
void |
putIfAbsent(K key,
V value)
Deprecated.
|
int |
putIfAbsentCount()
Deprecated.
|
void |
remove(K key)
Deprecated.
|
void |
removeAll(Collection<K> keys)
Deprecated.
|
int |
removeCount()
Deprecated.
|
int |
valueCount()
Deprecated.
|
public boolean isRemoved(K key)
public void remove(K key)
public void removeAll(Collection<K> keys)
public void clear()
public Set<K> filter(Iterable<K> globalKeys)
public void perform(com.atlassian.cache.Cache<K,V> cache)
cache
- Cache to perform cachedOperations onpublic int operationCount()
public int putIfAbsentCount()
public int putCount()
public int removeCount()
public int valueCount()
Copyright © 2003–2016 Atlassian. All rights reserved.