public interface ISharedObject extends IBasicScope, ISharedObjectBase, ISharedObjectSecurityService
BEAN_NAME| Modifier and Type | Method and Description |
|---|---|
void |
acquire()
Prevent shared object from being released.
|
ISharedObjectStatistics |
getStatistics()
Return statistics about the shared object.
|
boolean |
isAcquired()
Check if shared object currently is acquired.
|
void |
release()
Release previously acquired shared object.
|
getDepth, getName, getParent, getPath, getStore, getType, hasParent, isValid, setKeepDelaydispatchEventhandleEventnotifyEventaddEventListener, getEventListeners, removeEventListeneraddSharedObjectListener, beginUpdate, beginUpdate, clear, close, endUpdate, getData, getVersion, isLocked, isPersistent, lock, removeSharedObjectListener, sendMessage, unlockregisterServiceHandler, unregisterServiceHandlergetServiceHandler, getServiceHandlerNames, registerServiceHandlergetBoolAttribute, getByteAttribute, getDoubleAttribute, getIntAttribute, getListAttribute, getLongAttribute, getMapAttribute, getSetAttribute, getShortAttribute, getStringAttributegetAttribute, getAttribute, getAttributeNames, getAttributes, hasAttribute, removeAttribute, removeAttributes, setAttribute, setAttributes, setAttributesgetSharedObjectSecurity, registerSharedObjectSecurity, unregisterSharedObjectSecurityvoid acquire()
acquire
must be paired with a call to release so the SO isn't held
forever.
This method basically is a noop for persistent SOs as their data is stored
and they can be released without losing their contents.boolean isAcquired()
true if the SO is acquired, otherwise falsevoid release()
ISharedObjectStatistics getStatistics()
Copyright © 2006-2012 The Red5 Project