Class ViewMBeanImpl

java.lang.Object
com.tangosol.net.management.ViewMBeanImpl
All Implemented Interfaces:
ViewMBean

public class ViewMBeanImpl extends Object implements ViewMBean
  • Field Details

  • Constructor Details

    • ViewMBeanImpl

      public ViewMBeanImpl(ContinuousQueryCache cache)
      Constructs a ViewMBeanImpl
      Parameters:
      cache - the cache
  • Method Details

    • getViewName

      public String getViewName()
      Description copied from interface: ViewMBean
      Returns name of this cache.
      Specified by:
      getViewName in interface ViewMBean
      Returns:
      cache name
    • isReadOnly

      public boolean isReadOnly()
      Description copied from interface: ViewMBean
      Determine if this ContinuousQueryCache disallows data modification operations.
      Specified by:
      isReadOnly in interface ViewMBean
      Returns:
      true if this ContinuousQueryCache has been configured as read-only
    • isTransformed

      public boolean isTransformed()
      Description copied from interface: ViewMBean
      Determine if this ContinuousQueryCache transforms values.
      Specified by:
      isTransformed in interface ViewMBean
      Returns:
      true if this ContinuousQueryCache has been configured to transform values
    • getFilter

      public String getFilter()
      Description copied from interface: ViewMBean
      Obtain the Filter that this ContinuousQueryCache is using to query the underlying NamedCache.
      Specified by:
      getFilter in interface ViewMBean
      Returns:
      the Filter that this cache uses to select its contents from the underlying NamedCache
    • getTransformer

      public String getTransformer()
      Description copied from interface: ViewMBean
      Obtain the transformer that this ContinuousQueryCache is using to transform the results from the underlying cache prior to storing them locally.
      Specified by:
      getTransformer in interface ViewMBean
      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 interface ViewMBean
      Returns:
      a reconnection interval (in milliseconds)
    • isCacheValues

      public boolean isCacheValues()
      Description copied from interface: ViewMBean
      Determine if this ContinuousQueryCache caches values locally.
      Specified by:
      isCacheValues in interface ViewMBean
      Returns:
      true if this object caches values locally, and false if it relies on the underlying NamedCache
    • getSize

      public long getSize()
      Description copied from interface: ViewMBean
      Returns the number of key-value mappings in this cache.
      Specified by:
      getSize in interface ViewMBean
      Returns:
      the number of key-value mappings in this cache
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object