Class CacheSimpleEntryListenerConfig

    • Constructor Detail

      • CacheSimpleEntryListenerConfig

        public CacheSimpleEntryListenerConfig()
    • Method Detail

      • getCacheEntryListenerFactory

        public java.lang.String getCacheEntryListenerFactory()
      • getCacheEntryEventFilterFactory

        public java.lang.String getCacheEntryEventFilterFactory()
      • setCacheEntryEventFilterFactory

        public CacheSimpleEntryListenerConfig setCacheEntryEventFilterFactory​(java.lang.String cacheEntryEventFilterFactory)
      • isOldValueRequired

        public boolean isOldValueRequired()
        If old value is required, previously assigned values for the affected keys will be sent to this cache entry listener implementation.
        Returns:
        true if old value is required, false otherwise
      • setOldValueRequired

        public CacheSimpleEntryListenerConfig setOldValueRequired​(boolean oldValueRequired)
        If true, previously assigned values for the affected keys will be sent to this cache entry listener implementation. Setting this attribute to true creates additional traffic. Default value is false.
        Parameters:
        oldValueRequired - true to have old value required, false otherwise
        Returns:
        this configuration
      • isSynchronous

        public boolean isSynchronous()
        If true, this cache entry listener implementation will be called in a synchronous manner.
        Returns:
        true if this cache entry listener implementation will be called in a synchronous manner, false otherwise
      • setSynchronous

        public CacheSimpleEntryListenerConfig setSynchronous​(boolean synchronous)
        If true, this cache entry listener implementation will be called in a synchronous manner.
        Parameters:
        synchronous - true to have this cache entry listener implementation called in a synchronous manner, false otherwise.
        Returns:
        this configuration
      • equals

        public final boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • writeData

        public void writeData​(ObjectDataOutput out)
                       throws java.io.IOException
        Description copied from interface: DataSerializable
        Writes object fields to output stream
        Specified by:
        writeData in interface DataSerializable
        Parameters:
        out - output
        Throws:
        java.io.IOException - if an I/O error occurs. In particular, an IOException may be thrown if the output stream has been closed.
      • readData

        public void readData​(ObjectDataInput in)
                      throws java.io.IOException
        Description copied from interface: DataSerializable
        Reads fields from the input stream
        Specified by:
        readData in interface DataSerializable
        Parameters:
        in - input
        Throws:
        java.io.IOException - if an I/O error occurs. In particular, an IOException may be thrown if the input stream has been closed.
      • toString

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