Package com.tangosol.net.management
Interface ViewMBean
- All Known Implementing Classes:
ViewMBeanImpl
public interface ViewMBean
-
Method Summary
Modifier and TypeMethodDescriptionlong
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.boolean
Determine if thisContinuousQueryCache
caches values locally.boolean
Determine if thisContinuousQueryCache
disallows data modification operations.boolean
Determine if thisContinuousQueryCache
transforms values.
-
Method Details
-
getViewName
String getViewName()Returns name of this cache.- Returns:
- cache name
-
isReadOnly
boolean isReadOnly()Determine if thisContinuousQueryCache
disallows data modification operations.- Returns:
true
if thisContinuousQueryCache
has been configured as read-only
-
isTransformed
boolean isTransformed()Determine if thisContinuousQueryCache
transforms values.- Returns:
true
if thisContinuousQueryCache
has been configured to transform values
-
getFilter
String getFilter()- Returns:
- the
Filter
that this cache uses to select its contents from the underlyingNamedCache
-
getTransformer
String getTransformer()Obtain the transformer that thisContinuousQueryCache
is using to transform the results from the underlying cache prior to storing them locally.- Returns:
- the
ValueExtractor
that this cache uses to transform entries from the underlying cache
-
getReconnectInterval
long getReconnectInterval()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.- Returns:
- a reconnection interval (in milliseconds)
-
isCacheValues
boolean isCacheValues()Determine if thisContinuousQueryCache
caches values locally.- Returns:
true
if this object caches values locally, andfalse
if it relies on the underlyingNamedCache
-
getSize
long getSize()Returns the number of key-value mappings in this cache.- Returns:
- the number of key-value mappings in this cache
-