Class NodeRefRadixHasher

  • All Implemented Interfaces:
    NodeRefHasher

    public class NodeRefRadixHasher
    extends Object
    implements NodeRefHasher
    Creates string-pair hashes of NodeRefs where the first string is a stored hash combination for NodeRef store elements (protocol and id) and the second is a radix 36 encoded NodeRef id.
    • Constructor Detail

      • NodeRefRadixHasher

        public NodeRefRadixHasher()
      • NodeRefRadixHasher

        public NodeRefRadixHasher​(int radix)
    • Method Detail

      • hash

        public org.alfresco.util.Pair<String,​String> hash​(org.alfresco.service.cmr.repository.NodeRef nodeRef)
        Specified by:
        hash in interface NodeRefHasher
      • lookup

        public org.alfresco.service.cmr.repository.NodeRef lookup​(org.alfresco.util.Pair<String,​String> hash)
        Specified by:
        lookup in interface NodeRefHasher