- Type Parameters:
F- the type the operations accepts.
T- the type the callback returns.
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface RemoteFileOperations.OperationsCallback<F,
Callback for using the same session for multiple RemoteFileTemplate operations.
doInOperationsExecute any number of operations using a dedicated remote session as long as those operations are performed on the template argument and on the calling thread. The session will be closed when the callback exits.
operations- the RemoteFileOperations.
- the result of operations.