Search in sources :

Example 1 with PinManagerMovePinMessage

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);
}
Also used : AbstractMessageCallback(org.dcache.cells.AbstractMessageCallback) PinManagerMovePinMessage(org.dcache.services.pinmanager1.PinManagerMovePinMessage)

Aggregations

AbstractMessageCallback (org.dcache.cells.AbstractMessageCallback)1 PinManagerMovePinMessage (org.dcache.services.pinmanager1.PinManagerMovePinMessage)1