Package com.tangosol.net.management
Class ViewMBeanImpl
java.lang.Object
com.tangosol.net.management.ViewMBeanImpl
- All Implemented Interfaces:
ViewMBean
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
long
Return the reconnection interval (in milliseconds).long
getSize()
Returns the number of key-value mappings in this cache.Obtain the transformer that thisContinuousQueryCache
is using to transform the results from the underlying cache prior to storing them locally.Returns name of this cache.int
hashCode()
boolean
Determine if thisContinuousQueryCache
caches values locally.boolean
Determine if thisContinuousQueryCache
disallows data modification operations.boolean
Determine if thisContinuousQueryCache
transforms values.toString()
-
Field Details
-
f_cache
The cache instance.
-
-
Constructor Details
-
ViewMBeanImpl
Constructs aViewMBeanImpl
- Parameters:
cache
- the cache
-
-
Method Details
-
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
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
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. -
equals
-
hashCode
public int hashCode() -
toString
-