Package com.tangosol.net.management
Class ViewMBeanImpl
java.lang.Object
com.tangosol.net.management.ViewMBeanImpl
- All Implemented Interfaces:
ViewMBean
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanlongReturn the reconnection interval (in milliseconds).longgetSize()Returns the number of key-value mappings in this cache.Obtain the transformer that thisContinuousQueryCacheis using to transform the results from the underlying cache prior to storing them locally.Returns name of this cache.inthashCode()booleanDetermine if thisContinuousQueryCachecaches values locally.booleanDetermine if thisContinuousQueryCachedisallows data modification operations.booleanDetermine if thisContinuousQueryCachetransforms 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:ViewMBeanReturns name of this cache.- Specified by:
getViewNamein interfaceViewMBean- Returns:
- cache name
-
isReadOnly
public boolean isReadOnly()Description copied from interface:ViewMBeanDetermine if thisContinuousQueryCachedisallows data modification operations.- Specified by:
isReadOnlyin interfaceViewMBean- Returns:
trueif thisContinuousQueryCachehas been configured as read-only
-
isTransformed
public boolean isTransformed()Description copied from interface:ViewMBeanDetermine if thisContinuousQueryCachetransforms values.- Specified by:
isTransformedin interfaceViewMBean- Returns:
trueif thisContinuousQueryCachehas been configured to transform values
-
getFilter
Description copied from interface:ViewMBean- Specified by:
getFilterin interfaceViewMBean- Returns:
- the
Filterthat this cache uses to select its contents from the underlyingNamedCache
-
getTransformer
Description copied from interface:ViewMBeanObtain the transformer that thisContinuousQueryCacheis using to transform the results from the underlying cache prior to storing them locally.- Specified by:
getTransformerin interfaceViewMBean- Returns:
- the
ValueExtractorthat this cache uses to transform entries from the underlying cache
-
getReconnectInterval
public long getReconnectInterval()Description copied from interface:ViewMBeanReturn 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:
getReconnectIntervalin interfaceViewMBean- Returns:
- a reconnection interval (in milliseconds)
-
isCacheValues
public boolean isCacheValues()Description copied from interface:ViewMBeanDetermine if thisContinuousQueryCachecaches values locally.- Specified by:
isCacheValuesin interfaceViewMBean- Returns:
trueif this object caches values locally, andfalseif it relies on the underlyingNamedCache
-
getSize
public long getSize()Description copied from interface:ViewMBeanReturns the number of key-value mappings in this cache. -
equals
-
hashCode
public int hashCode() -
toString
-