@Override public String call() throws IOException, CacheException, InterruptedException { FileAttributes fileAttributes = new FileAttributes(); fileAttributes.setPnfsId(pnfsId); List<StickyRecord> stickyRecords = Collections.emptyList(); newCompanion(pool, fileAttributes, ReplicaState.CACHED, stickyRecords, null, false, null); return "Transfer Initiated"; }
public synchronized String ac_pp_get_file_$_2(Args args) throws CacheException, IOException, InterruptedException { FileAttributes fileAttributes = new FileAttributes(); fileAttributes.setPnfsId(new PnfsId(args.argv(0))); String pool = args.argv(1); List<StickyRecord> stickyRecords = Collections.emptyList(); newCompanion(pool, fileAttributes, EntryState.CACHED, stickyRecords, null, false, null); return "Transfer Initiated"; }
public PoolIoFileMessage(String pool, PnfsId pnfsId, ProtocolInfo protocolInfo) { super(pool); _protocolInfo = protocolInfo; _fileAttributes = new FileAttributes(); _fileAttributes.setPnfsId(pnfsId); }