public interface ResourceCacheServiceMBean
Modifier and Type | Field and Description |
---|---|
static Class<ResourceCacheServiceMBean> |
MBEAN_CLASS |
static String |
OBJECT_NAME |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(Metacard metacard)
Determines if the resource associated with the metacard is in the resource cache
|
boolean |
containsById(String metacardId)
Determines if the resource associated with the metacard is in the resource cache
|
boolean |
isCacheEnabled()
Determines if the resource cache is enabled.
|
static final String OBJECT_NAME
static final Class<ResourceCacheServiceMBean> MBEAN_CLASS
boolean isCacheEnabled()
true
if the resource cache is enabled, false
otherwiseboolean contains(Metacard metacard)
metacard
- to use to find a matching resourcetrue
if the resource is in the cache, false
otherwise.boolean containsById(String metacardId)
metacardId
- to use to find a matching resourcetrue
if the resource is in the cache, false
otherwise.This work is licensed under a Creative Commons Attribution 4.0 International License.