@FunctionalInterface public interface SessionCallbackWithoutResult<F> extends SessionCallback<F,Object>
SessionCallback for cases where
no result is returned.| Modifier and Type | Method and Description |
|---|---|
default Object |
doInSession(Session<F> session)
Called within the context of a session.
|
void |
doInSessionWithoutResult(Session<F> session)
Called within the context of a session.
|
default Object doInSession(Session<F> session) throws IOException
SessionCallbackdoInSession in interface SessionCallback<F,Object>session - The session.IOException - Any IOException.void doInSessionWithoutResult(Session<F> session) throws IOException
session - The session.IOException - Any IOException.