Package 

Interface Keyer


  • 
    public interface Keyer<T extends Object>
    
                        

    An interface to convert data of type T into a string key for the memory cache.

    • Method Summary

      Modifier and Type Method Description
      abstract String key(T data, Options options) Convert data into a string key.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • key

         abstract String key(T data, Options options)

        Convert data into a string key. Return 'null' if this keyer cannot convert data.

        Parameters:
        data - The data to convert.
        options - The options for this request.