Modifier and Type | Interface and Description |
---|---|
static class |
ObjectBorower.Action |
Scanable.ScanHandler<O>
Modifier and Type | Method and Description |
---|---|
Either<ObjectBorower.Action,T> |
tryRequestReturnObject()
Non Blocking method.
|
T |
tryReturnObjectIfNotInUse()
Non Blocking method.
|
Collection<T> |
tryReturnObjectsIfNotInUse()
Return all objects that are not currently in use.
|
Collection<T> |
tryReturnObjectsIfNotNeededAnymore()
This method is a cleanup method.
|
@Nonnull Either<ObjectBorower.Action,T> tryRequestReturnObject() throws InterruptedException
InterruptedException
@Nullable T tryReturnObjectIfNotInUse() throws InterruptedException
InterruptedException
@Nullable Collection<T> tryReturnObjectsIfNotInUse() throws InterruptedException
InterruptedException
@Nullable Collection<T> tryReturnObjectsIfNotNeededAnymore() throws InterruptedException
InterruptedException
Copyright © 2014. All rights reserved.