|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@ProtectedRequestContext @WebServlet(value="/ws/level-0/internal/cache-control") public interface CacheControlService
Implements rudimentary cache control and information gathering.
| Method Summary | |
|---|---|
List<String> |
getCacheClusterNodeAddressList()
Returns a list of addresses of the machines that are part of the cache cluster. |
List<String> |
getCacheIdentifiers()
Returns a list of all cache identifiers using the format cacheName@cacheContext. |
List<CacheInformation> |
getCacheInformationList()
Returns a list of cache information instances for all caches that are used by the ACL node. |
CacheInformation |
getCombinedCacheInformation()
Returns a single cache information instance that contains the combined information on all caches. |
List<String> |
getLocalClusterNodeAddressList()
Returns the addresses of the local machine that is part of the cache cluster. |
void |
invalidate(String cacheContext,
String cacheName)
Invalidates (clears) the named cache and does NOT wait for the operation to succeed. |
void |
invalidateAll()
Invalidates (clears) the all caches and does NOT wait for the operation to succeed. |
void |
invalidateAllAndWait()
Invalidates (clears) the all caches and waits for the operation to succeed. |
void |
invalidateAndWait(String cacheContext,
String cacheName)
Invalidates (clears) the named cache and waits for the operation to succeed. |
| Method Detail |
|---|
@RequiredRoles(value="access.protected.services")
List<String> getCacheIdentifiers()
throws AuthenticationException
cacheName@cacheContext.
cacheName@cacheContext.
AuthenticationException - In case of the current user is not
authenticated or doesn't have the right to access the service.
@RequiredRoles(value="access.protected.services")
List<String> getCacheClusterNodeAddressList()
throws AuthenticationException
AuthenticationException - In case of the current user is not
authenticated or doesn't have the right to access the service.
@RequiredRoles(value="access.protected.services")
List<String> getLocalClusterNodeAddressList()
throws AuthenticationException
AuthenticationException - In case of the current user is not
authenticated or doesn't have the right to access the service.
@RequiredRoles(value="access.protected.services")
CacheInformation getCombinedCacheInformation()
throws AuthenticationException
AuthenticationException - In case of the current user is not
authenticated or doesn't have the right to access the service.
@RequiredRoles(value="access.protected.services")
List<CacheInformation> getCacheInformationList()
throws AuthenticationException
AuthenticationException - In case of the current user is not
authenticated or doesn't have the right to access the service.
@RequiredRoles(value={"access.protected.services","manage"})
void invalidate(String cacheContext,
String cacheName)
throws AuthenticationException
cacheContext - The name of the context holding the cache.cacheName - The name of the cache.
AuthenticationException - In case of the current user is not
authenticated or doesn't have the right to access the service.
@RequiredRoles(value={"access.protected.services","manage"})
void invalidateAndWait(String cacheContext,
String cacheName)
throws AuthenticationException
cacheContext - The name of the context holding the cache.cacheName - The name of the cache.
AuthenticationException - In case of the current user is not
authenticated or doesn't have the right to access the service.
@RequiredRoles(value={"access.protected.services","manage"})
void invalidateAll()
throws AuthenticationException
AuthenticationException - In case of the current user is not
authenticated or doesn't have the right to access the service.
@RequiredRoles(value={"access.protected.services","manage"})
void invalidateAllAndWait()
throws AuthenticationException
AuthenticationException - In case of the current user is not
authenticated or doesn't have the right to access the service.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||