use of org.dcache.services.pinmanager1.PinManagerMovePinMessage in project dcache by dCache.
the class Task method movePin.
/**
* FSM Action
*/
synchronized void movePin() {
Callback<PinManagerMovePinMessage> callback = new Callback<>("move_");
String target = _target.getDestinationAddress().getCellName();
PinManagerMovePinMessage message = new PinManagerMovePinMessage(getPnfsId(), _pinsToMove, _source, target);
CellStub.addCallback(_parameters.pinManager.send(message), callback, _parameters.executor);
}
Aggregations