Class DistributedWorkQueueWorkAssignerHelper

java.lang.Object
org.apache.accumulo.server.replication.DistributedWorkQueueWorkAssignerHelper

@Deprecated public class DistributedWorkQueueWorkAssignerHelper extends Object
Deprecated.
  • Field Details

  • Constructor Details

    • DistributedWorkQueueWorkAssignerHelper

      public DistributedWorkQueueWorkAssignerHelper()
      Deprecated.
  • Method Details

    • getQueueKey

      public static String getQueueKey(String filename, ReplicationTarget replTarget)
      Deprecated.
      Serialize a filename and a ReplicationTarget into the expected key format for use with the DistributedWorkQueue
      Parameters:
      filename - Filename for data to be replicated
      replTarget - Information about replication peer
      Returns:
      Key for identifying work in queue
    • fromQueueKey

      public static Map.Entry<String,ReplicationTarget> fromQueueKey(String queueKey)
      Deprecated.
      Parameters:
      queueKey - Key from the work queue
      Returns:
      Components which created the queue key