public abstract class AbstractNonBlockingResource extends AbstractResource
Abstract Implementation for Resource that allows the concurrent access.
lock, multiResourcelock
Constructor and Description |
---|
AbstractNonBlockingResource(ResourceParameters parameters) |
Modifier and Type | Method and Description |
---|---|
Object |
execute(ResourceAction action)
Executes an action which uses the current
Resource . |
addConsumer, addObserver, addObservers, closeRequest, deleteObserver, deleteObservers, executeBegins, executeEnds, get, getConsumerAt, getConsumersCount, getData, getLastTimeOpen, getLastTimeUsed, getName, getParameters, inUse, isOpen, notifyChanges, notifyClose, notifyDispose, notifyObserver, notifyOpen, openCount, performExecution, prepare, prepare, removeConsumer, setData, updateLastTimeOpen, updateLastTimeUsed
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isThis
public AbstractNonBlockingResource(ResourceParameters parameters) throws InitializeException
parameters
- InitializeException
public Object execute(ResourceAction action) throws ResourceExecuteException
Resource
Resource
.execute
in interface Resource
execute
in class AbstractResource
ResourceExecuteException