Package | Description |
---|---|
org.jini.rio.resources.resource |
Modifier and Type | Method and Description |
---|---|
protected Object |
ThreadPool.create()
method for creating a specific resource in the sub-class
|
protected abstract Object |
ResourcePool.create()
Abstract method for creating a specific resource in the sub-class
|
protected Object |
ResourcePool.createResource()
creates a new Resource and performs any initilization required to manage the resource
|
protected void |
ResourcePool.createResources()
Pre-creates the minimum number of resources
|
protected void |
ResourcePool.createResources(int number)
Pre-creates the specified number of resources
|
Object |
ResourcePool.get()
Get a Resource from the pool, blocking forever until a resource becomes available
|
Object |
ResourcePool.get(long timeout)
Get a Resource from the pool, blocking for a specified time until a resource becomes
available, a zero timeout blocks forever.
|
Copyright © GigaSpaces.