@Override
 public void run() {
   LockServiceImpl lockService = getService();
   LockStoreContainer container = lockService.getLockContainer(getPartitionId());
   for (LockStoreImpl ls : locks) {
     container.put(ls);
   }
 }
  public LockReplicationOperation(LockStoreContainer container, int partitionId, int replicaIndex) {
    setPartitionId(partitionId).setReplicaIndex(replicaIndex);

    Collection<LockStoreImpl> lockStores = container.getLockStores();
    for (LockStoreImpl ls : lockStores) {
      if (ls.getTotalBackupCount() < replicaIndex) {
        continue;
      }
      locks.add(ls);
    }
  }