com.atlassian.cache
Interface ManagedCache

All Known Implementing Classes:
DelegatingCache, DelegatingCache, DelegatingCachedReference, DelegatingCachedReference

@Internal
public interface ManagedCache

Interface that managed cache things need to implement

Since:
2.0

Method Summary
 void clear()
          Clear the cache.
 java.lang.String getName()
          The name of the cache, uniquely identifies this cache.
 boolean isFlushable()
          Returns true if this cache can be flushed.
 

Method Detail

clear

void clear()
Clear the cache.


getName

java.lang.String getName()
The name of the cache, uniquely identifies this cache.

Returns:
the name of the cache.

isFlushable

boolean isFlushable()
Returns true if this cache can be flushed. To support clustering and high availability as well as general good cache management, caches should allow the cache manager to flush them when required by the underlying application.

Returns:
true if this cache can be flushed.


Copyright © 2013 Atlassian. All Rights Reserved.