public class Session extends Object
| Constructor and Description |
|---|
Session(SessionRunnable runnable) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
_terminate() |
Throwable |
getError() |
String |
getId() |
SessionContext |
getSessionContext() |
SessionState |
getState() |
boolean |
isAsync() |
boolean |
isTerminationRequested() |
void |
requestTermination() |
void |
setAsync(boolean async) |
void |
setError(Throwable throwable) |
void |
setRunnable(SessionRunnable runnable) |
public Session(SessionRunnable runnable)
public SessionContext getSessionContext()
public String getId()
public void setRunnable(SessionRunnable runnable)
public SessionState getState()
public Throwable getError()
public void setError(Throwable throwable)
public void requestTermination()
public boolean isTerminationRequested()
protected void _terminate()
public boolean isAsync()
public void setAsync(boolean async)
Copyright © 2025. All rights reserved.