Class ViewMBeanImpl

    • Constructor Detail

      • ViewMBeanImpl

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

      • 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
      • 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
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object