Package com.tangosol.net.management
Class ViewMBeanImpl
- java.lang.Object
-
- com.tangosol.net.management.ViewMBeanImpl
-
-
Field Summary
Fields Modifier and Type Field Description protected ContinuousQueryCachef_cacheThe 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 booleanequals(Object o)StringgetFilter()longgetReconnectInterval()Return the reconnection interval (in milliseconds).longgetSize()Returns the number of key-value mappings in this cache.StringgetTransformer()Obtain the transformer that thisContinuousQueryCacheis using to transform the results from the underlying cache prior to storing them locally.StringgetViewName()Returns name of this cache.inthashCode()booleanisCacheValues()Determine if thisContinuousQueryCachecaches values locally.booleanisReadOnly()Determine if thisContinuousQueryCachedisallows data modification operations.booleanisTransformed()Determine if thisContinuousQueryCachetransforms values.StringtoString()
-
-
-
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: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
public String getFilter()
Description copied from interface:ViewMBean- Specified by:
getFilterin interfaceViewMBean- Returns:
- the
Filterthat this cache uses to select its contents from the underlyingNamedCache
-
getTransformer
public String 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.
-
-