public class ClonedLibrarySessionManager.SessionCreatorExecutor extends Executor
Constructor and Description |
---|
SessionCreatorExecutor(LibrarySession mainSess,
ClonedLibrarySessionManager.ClonedSessionExecutor mainExec)
Constructs a ClonedSessionExecutor.
|
Modifier and Type | Method and Description |
---|---|
void |
createNewSession()
Create a new session.
|
protected void |
handleShutdown()
Handle a shutdown.
|
void |
start()
Starts the executor.
|
callTask, getQueueSize, interruptExecutingThread, isRequestQueueEmpty, logCallTaskException, run, shutdown, startThread, submit
public SessionCreatorExecutor(LibrarySession mainSess, ClonedLibrarySessionManager.ClonedSessionExecutor mainExec)
mainSess
- the main sessionmainExec
- the executorpublic void start()
public void createNewSession() throws IfsException
IfsException
- if the operation failsprotected void handleShutdown() throws Exception
Executor
handleShutdown
in class Executor
Exception
- if the operation failsCopyright © 2023. All rights reserved.