public class BatchSessionsReaper
extends java.lang.Object
Constructor and Description |
---|
BatchSessionsReaper(SessionService session)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
java.util.Optional<java.lang.Throwable>[] |
closeSessions(ImportBatch batch)
Closes all the OMERO sessions in the specified import batch.
|
public BatchSessionsReaper(SessionService session)
session
- the service to access OMERO sessions.java.lang.NullPointerException
- if the argument is null
.public java.util.Optional<java.lang.Throwable>[] closeSessions(ImportBatch batch)
batch
- the import batch.java.lang.NullPointerException
- if the argument is null
.