Package com.sodius.oslc.server.trs.store
Interface TrsStoreFunction<R>
-
- Type Parameters:
R
- the type of the result of the function
- 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 interface TrsStoreFunction<R>
Executes operations on aTrsStore
. This function is to run by asynchronizer
.- Since:
- 1.10.0
- See Also:
TrsStoreSynchronizer.applyUnlock(TrsStoreFunction)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description R
apply(TrsStore store)
Applies this function to the given store.
-
-
-
Method Detail
-
apply
R apply(TrsStore store) throws TrsStoreException
Applies this function to the given store.- Parameters:
store
- the TRS store.- Returns:
- the function result
- Throws:
TrsStoreException
- if a store method throws such exception
-
-