public interface IResourcePool<R extends IResource>
Modifier and Type | Method and Description |
---|---|
int |
availableResources() |
void |
forAllResources(IResourceProcedure<R> procedure) |
void |
freeResource(R resource) |
R |
getResource() |
R |
getResource(boolean waitIfNeeded) |
int |
size() |
R getResource()
R getResource(boolean waitIfNeeded)
void freeResource(R resource)
int availableResources()
int size()
void forAllResources(IResourceProcedure<R> procedure)
Copyright © GigaSpaces.