Package com.tangosol.net.management
Class ViewMBeanImpl
- java.lang.Object
-
- com.tangosol.net.management.ViewMBeanImpl
-
-
Field Summary
Fields Modifier and Type Field Description protected ContinuousQueryCache
f_cache
The cache instance.
-
Constructor Summary
Constructors Constructor Description ViewMBeanImpl(ContinuousQueryCache cache)
Constructs aViewMBeanImpl
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getFilter()
long
getReconnectInterval()
Return the reconnection interval (in milliseconds).long
getSize()
Returns the number of key-value mappings in this cache.String
getTransformer()
Obtain the transformer that thisContinuousQueryCache
is using to transform the results from the underlying cache prior to storing them locally.String
getViewName()
Returns name of this cache.int
hashCode()
boolean
isCacheValues()
Determine if thisContinuousQueryCache
caches values locally.boolean
isReadOnly()
Determine if thisContinuousQueryCache
disallows data modification operations.boolean
isTransformed()
Determine if thisContinuousQueryCache
transforms values.String
toString()
-
-
-
Field Detail
-
f_cache
protected final ContinuousQueryCache f_cache
The cache instance.
-
-
Constructor Detail
-
ViewMBeanImpl
public ViewMBeanImpl(ContinuousQueryCache cache)
Constructs aViewMBeanImpl
- Parameters:
cache
- the cache
-
-
Method Detail
-
getViewName
public String getViewName()
Description copied from interface:ViewMBean
Returns name of this cache.- Specified by:
getViewName
in interfaceViewMBean
- Returns:
- cache name
-
isReadOnly
public boolean isReadOnly()
Description copied from interface:ViewMBean
Determine if thisContinuousQueryCache
disallows data modification operations.- Specified by:
isReadOnly
in interfaceViewMBean
- Returns:
true
if thisContinuousQueryCache
has been configured as read-only
-
isTransformed
public boolean isTransformed()
Description copied from interface:ViewMBean
Determine if thisContinuousQueryCache
transforms values.- Specified by:
isTransformed
in interfaceViewMBean
- Returns:
true
if thisContinuousQueryCache
has been configured to transform values
-
getFilter
public String getFilter()
Description copied from interface:ViewMBean
- Specified by:
getFilter
in interfaceViewMBean
- Returns:
- the
Filter
that this cache uses to select its contents from the underlyingNamedCache
-
getTransformer
public String getTransformer()
Description copied from interface:ViewMBean
Obtain the transformer that thisContinuousQueryCache
is using to transform the results from the underlying cache prior to storing them locally.- Specified by:
getTransformer
in interfaceViewMBean
- Returns:
- the
ValueExtractor
that this cache uses to transform entries from the underlying cache
-
getReconnectInterval
public long getReconnectInterval()
Description copied from interface:ViewMBean
Return the reconnection interval (in milliseconds). This value indicates the period in which re-synchronization with the underlying cache will be delayed in the case the connection is severed. During this time period, local content can be accessed without triggering re-synchronization of the local content.- Specified by:
getReconnectInterval
in interfaceViewMBean
- Returns:
- a reconnection interval (in milliseconds)
-
isCacheValues
public boolean isCacheValues()
Description copied from interface:ViewMBean
Determine if thisContinuousQueryCache
caches values locally.- Specified by:
isCacheValues
in interfaceViewMBean
- Returns:
true
if this object caches values locally, andfalse
if it relies on the underlyingNamedCache
-
getSize
public long getSize()
Description copied from interface:ViewMBean
Returns the number of key-value mappings in this cache.
-
-