Interface MethodArgumentsKeyGenerator

All Known Implementing Classes:
FixedKeyGenerator

public interface MethodArgumentsKeyGenerator
Interface that allows method parameters to be identified and tagged by a unique key.
Author:
Dave Syer
  • Method Summary

    Modifier and Type
    Method
    Description
    getKey(Object[] item)
    Get a unique identifier for the item that can be used to cache it between calls if necessary, and then identify it later.
  • Method Details

    • getKey

      Object getKey(Object[] item)
      Get a unique identifier for the item that can be used to cache it between calls if necessary, and then identify it later.
      Parameters:
      item - the current method arguments (may be null if there are none).
      Returns:
      a unique identifier.