Class SimpleMapListener<K,​V>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String WILD_CARD
      The wild-card value for cache and service names.
      • Fields inherited from interface com.tangosol.util.MapListener

        ASYNCHRONOUS, SYNCHRONOUS, VERSION_AWARE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void addType​(MapEventType type)
      Add specified event type to a set of types this interceptor should handle.
      int compareTo​(SimpleMapListener<?,​?> other)  
      void entryDeleted​(com.tangosol.util.MapEvent<K,​V> event)  
      void entryInserted​(com.tangosol.util.MapEvent<K,​V> event)  
      void entryUpdated​(com.tangosol.util.MapEvent<K,​V> event)  
      com.tangosol.util.Filter<?> getFilter()
      Obtain the Filter that should be used when registering this listener.
      MethodMapListener<K,​V> getObserver()  
      java.lang.String getSession()
      Return the name of the session that this listener is for.
      com.tangosol.util.MapEventTransformer getTransformer()
      Obtain the MapEventTransformer that should be used when registering this listener.
      boolean isSynchronous()
      Return true if this is synchronous event listener.
      void setCacheName​(java.lang.String cacheName)  
      void setFilter​(com.tangosol.util.Filter<?> filter)  
      void setLiteEvent​(boolean liteEvents)  
      void setScopeName​(java.lang.String scopeName)  
      void setServiceName​(java.lang.String serviceName)  
      void setSession​(java.lang.String session)  
      void setSynchronousEvents​(boolean synchronousEvents)  
      void setTransformer​(com.tangosol.util.MapEventTransformer<K,​V,​?> transformer)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface com.tangosol.util.MapListener

        characteristics, isAsynchronous, isVersionAware, synchronous
    • Field Detail

      • WILD_CARD

        public static final java.lang.String WILD_CARD
        The wild-card value for cache and service names.
        See Also:
        Constant Field Values
    • Method Detail

      • entryInserted

        public void entryInserted​(com.tangosol.util.MapEvent<K,​V> event)
        Specified by:
        entryInserted in interface com.tangosol.util.MapListener<K,​V>
      • entryUpdated

        public void entryUpdated​(com.tangosol.util.MapEvent<K,​V> event)
        Specified by:
        entryUpdated in interface com.tangosol.util.MapListener<K,​V>
      • entryDeleted

        public void entryDeleted​(com.tangosol.util.MapEvent<K,​V> event)
        Specified by:
        entryDeleted in interface com.tangosol.util.MapListener<K,​V>
      • compareTo

        public int compareTo​(SimpleMapListener<?,​?> other)
        Specified by:
        compareTo in interface java.lang.Comparable<K>
      • getSession

        public java.lang.String getSession()
        Return the name of the session that this listener is for.
        Returns:
        the name of the session this listener is for
      • setSession

        public void setSession​(java.lang.String session)
      • getFilter

        public com.tangosol.util.Filter<?> getFilter()
        Obtain the Filter that should be used when registering this listener.
        Returns:
        the Filter that should be used when registering this listener
      • setFilter

        public void setFilter​(com.tangosol.util.Filter<?> filter)
      • getTransformer

        public com.tangosol.util.MapEventTransformer getTransformer()
        Obtain the MapEventTransformer that should be used when registering this listener.
        Returns:
        the MapEventTransformer that should be used when registering this listener
      • setTransformer

        public void setTransformer​(com.tangosol.util.MapEventTransformer<K,​V,​?> transformer)
      • setCacheName

        public void setCacheName​(java.lang.String cacheName)
      • setServiceName

        public void setServiceName​(java.lang.String serviceName)
      • setScopeName

        public void setScopeName​(java.lang.String scopeName)
      • setLiteEvent

        public void setLiteEvent​(boolean liteEvents)
      • isSynchronous

        public boolean isSynchronous()
        Return true if this is synchronous event listener.
        Specified by:
        isSynchronous in interface com.tangosol.util.MapListener<K,​V>
        Returns:
        true if this is synchronous event listener
      • setSynchronousEvents

        public void setSynchronousEvents​(boolean synchronousEvents)
      • addType

        protected void addType​(MapEventType type)
        Add specified event type to a set of types this interceptor should handle.
        Parameters:
        type - the event type to add
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object