Interface NameMapper

  • All Known Implementing Classes:
    DefaultNameMapper

    public interface NameMapper
    Maps Redisson object name.
    Author:
    Nikita Koksharov
    • Method Detail

      • map

        String map(String name)
        Applies map function to input name
        Parameters:
        name - - original Redisson object name
        Returns:
        mapped name
      • unmap

        String unmap(String name)
        Applies unmap function to input mapped name to get original name.
        Parameters:
        name - - mapped name
        Returns:
        original Redisson object name
      • direct

        static NameMapper direct()
        Returns input Redisson object name. Used by default
        Returns:
        NameMapper instance what returns input Redisson object name