- 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,T>
Callback for using the same session for multiple RemoteFileTemplate operations.
Execute 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.