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() |
int |
size() |
R getResource()
void freeResource(R resource)
int availableResources()
int size()
void forAllResources(IResourceProcedure<R> procedure)
Copyright © GigaSpaces.