|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use IEntityLock | |
---|---|
org.jasig.portal.concurrency | |
org.jasig.portal.concurrency.locking | |
org.jasig.portal.groups | |
org.jasig.portal.services |
Uses of IEntityLock in org.jasig.portal.concurrency |
---|
Methods in org.jasig.portal.concurrency that return IEntityLock | |
---|---|
IEntityLock |
IEntityLockService.newLock(java.lang.Class entityType,
java.lang.String entityKey,
int lockType,
java.lang.String owner)
Returns a lock for the entity, lock type and owner. |
IEntityLock |
IEntityLockService.newLock(java.lang.Class entityType,
java.lang.String entityKey,
int lockType,
java.lang.String owner,
int durationSecs)
Returns a lock for the entity, lock type and owner. |
IEntityLock |
IEntityLockService.newLock(EntityIdentifier entityID,
int lockType,
java.lang.String owner)
Returns a lock for the entity, lock type and owner. |
IEntityLock |
IEntityLockService.newLock(EntityIdentifier entityID,
int lockType,
java.lang.String owner,
int durationSecs)
Returns a lock for the entity, lock type and owner. |
Methods in org.jasig.portal.concurrency with parameters of type IEntityLock | |
---|---|
void |
IEntityLockService.convert(IEntityLock lock,
int newType)
Attempts to change the lock's lockType to newType . |
void |
IEntityLockService.convert(IEntityLock lock,
int newType,
int newDuration)
Attempts to change the lock's lockType to newType . |
boolean |
IEntityLockService.existsInStore(IEntityLock lock)
Answer if this IEntityLock exists in the store. |
boolean |
IEntityLockService.isValid(IEntityLock lock)
Answers if this IEntityLock represents a lock that is still
good. |
void |
IEntityLockService.release(IEntityLock lock)
Releases the IEntityLock . |
void |
IEntityLockService.renew(IEntityLock lock)
Extends the expiration time of the lock by the default increment. |
void |
IEntityLockService.renew(IEntityLock lock,
int duration)
Extends the expiration time of the lock by duration seconds. |
Uses of IEntityLock in org.jasig.portal.concurrency.locking |
---|
Classes in org.jasig.portal.concurrency.locking that implement IEntityLock | |
---|---|
class |
EntityLockImpl
An implementation of IEntityLock. |
Methods in org.jasig.portal.concurrency.locking that return IEntityLock | |
---|---|
IEntityLock[] |
MemoryEntityLockStore.find(java.lang.Class entityType,
java.lang.String entityKey,
java.lang.Integer lockType,
java.util.Date expiration,
java.lang.String lockOwner)
Returns an IEntityLock[] based on the params, any or all of which may be null. |
IEntityLock[] |
RDBMEntityLockStore.find(java.lang.Class entityType,
java.lang.String entityKey,
java.lang.Integer lockType,
java.util.Date expiration,
java.lang.String lockOwner)
Retrieve IEntityLocks from the underlying store. |
IEntityLock[] |
IEntityLockStore.find(java.lang.Class entityType,
java.lang.String entityKey,
java.lang.Integer lockType,
java.util.Date expiration,
java.lang.String lockOwner)
Returns an IEntityLock[] based on the params, any or all of which may be null. |
IEntityLock |
MemoryEntityLockStore.find(IEntityLock lock)
Returns this lock if it exists in the store. |
IEntityLock[] |
MemoryEntityLockStore.findUnexpired(java.util.Date expiration,
java.lang.Class entityType,
java.lang.String entityKey,
java.lang.Integer lockType,
java.lang.String lockOwner)
Returns an IEntityLock[] containing unexpired locks, based on the params, any or all of which may be null EXCEPT FOR expiration . |
IEntityLock[] |
RDBMEntityLockStore.findUnexpired(java.util.Date expiration,
java.lang.Class entityType,
java.lang.String entityKey,
java.lang.Integer lockType,
java.lang.String lockOwner)
Retrieve IEntityLocks from the underlying store. |
IEntityLock[] |
IEntityLockStore.findUnexpired(java.util.Date expiration,
java.lang.Class entityType,
java.lang.String entityKey,
java.lang.Integer lockType,
java.lang.String lockOwner)
Returns an IEntityLock[] containing unexpired locks, based on the params, any or all of which may be null EXCEPT FOR expiration . |
private IEntityLock |
MemoryEntityLockStore.getLockFromCache(java.lang.Object cacheKey,
java.util.Map cache)
|
private IEntityLock |
RDBMEntityLockStore.instanceFromResultSet(java.sql.ResultSet rs)
Extract values from ResultSet and create a new lock. |
private IEntityLock |
RDBMEntityLockStore.newInstance(java.lang.Class entityType,
java.lang.String entityKey,
int lockType,
java.util.Date expirationTime,
java.lang.String lockOwner)
|
IEntityLock |
ReferenceEntityLockService.newLock(java.lang.Class entityType,
java.lang.String entityKey,
int lockType,
java.lang.String owner)
Returns a lock for the entity, lock type and owner if no conflicting locks exist. |
IEntityLock |
ReferenceEntityLockService.newLock(java.lang.Class entityType,
java.lang.String entityKey,
int lockType,
java.lang.String owner,
int durationSecs)
Returns a lock for the entity, lock type and owner if no conflicting locks exist. |
IEntityLock |
ReferenceEntityLockService.newLock(EntityIdentifier entityID,
int lockType,
java.lang.String owner)
Returns a lock for the entity, lock type and owner if no conflicting locks exist. |
IEntityLock |
ReferenceEntityLockService.newLock(EntityIdentifier entityID,
int lockType,
java.lang.String owner,
int durationSecs)
Returns a lock for the entity, lock type and owner if no conflicting locks exist. |
private IEntityLock[] |
RDBMEntityLockStore.primSelect(java.lang.String sql)
Retrieve IEntityLocks from the underlying store. |
private IEntityLock[] |
ReferenceEntityLockService.retrieveLocks(java.lang.Class entityType,
java.lang.String entityKey,
java.lang.Integer lockType)
Returns an IEntityLock[] containing unexpired locks for the entityType, entityKey and lockType. |
private IEntityLock[] |
RDBMEntityLockStore.select(java.lang.Class entityType,
java.lang.String entityKey,
java.lang.Integer lockType,
java.util.Date expiration,
java.lang.String lockOwner)
Retrieve IEntityLocks from the underlying store. |
private IEntityLock[] |
RDBMEntityLockStore.selectUnexpired(java.sql.Timestamp ts,
java.lang.Class entityType,
java.lang.String entityKey,
java.lang.Integer lockType,
java.lang.String lockOwner)
Retrieve IEntityLocks from the underlying store. |
Methods in org.jasig.portal.concurrency.locking with parameters of type IEntityLock | |
---|---|
void |
MemoryEntityLockStore.add(IEntityLock lock)
Adds this IEntityLock to the store. |
void |
RDBMEntityLockStore.add(IEntityLock lock)
Adds the lock to the underlying store. |
void |
IEntityLockStore.add(IEntityLock lock)
Adds this IEntityLock to the store. |
void |
ReferenceEntityLockService.convert(IEntityLock lock,
int newType)
Attempts to change the lock's lockType to newType . |
void |
ReferenceEntityLockService.convert(IEntityLock lock,
int newType,
int newDuration)
Attempts to change the lock's lockType to newType . |
void |
MemoryEntityLockStore.delete(IEntityLock lock)
Deletes this IEntityLock from the store. |
void |
RDBMEntityLockStore.delete(IEntityLock lock)
If this IEntityLock exists, delete it. |
void |
IEntityLockStore.delete(IEntityLock lock)
Deletes this IEntityLock from the store. |
void |
RDBMEntityLockStore.deleteExpired(IEntityLock lock)
Delete all expired IEntityLocks from the underlying store. |
boolean |
ReferenceEntityLockService.existsInStore(IEntityLock lock)
Answer if this IEntityLock exists in the store. |
IEntityLock |
MemoryEntityLockStore.find(IEntityLock lock)
Returns this lock if it exists in the store. |
private java.lang.String |
MemoryEntityLockStore.getCacheKey(IEntityLock lock)
|
private boolean |
ReferenceEntityLockService.isUnexpired(IEntityLock lock)
|
boolean |
ReferenceEntityLockService.isValid(IEntityLock lock)
Answers if this IEntityLock represents a lock that is still
good. |
private void |
RDBMEntityLockStore.primAdd(IEntityLock lock,
java.sql.Connection conn)
Add the lock to the underlying store. |
private void |
MemoryEntityLockStore.primAdd(IEntityLock lock,
java.util.Date expiration)
Adds this IEntityLock to the store. |
private void |
RDBMEntityLockStore.primDelete(IEntityLock lock,
java.sql.Connection conn)
Delete the IEntityLock from the underlying store. |
private void |
RDBMEntityLockStore.primUpdate(IEntityLock lock,
java.util.Date newExpiration,
java.lang.Integer newType,
java.sql.Connection conn)
Updates the lock's expiration and lockType in the
underlying store. |
void |
ReferenceEntityLockService.release(IEntityLock lock)
Releases the IEntityLock . |
void |
ReferenceEntityLockService.renew(IEntityLock lock)
Extends the expiration time of the lock by some service-defined increment. |
void |
ReferenceEntityLockService.renew(IEntityLock lock,
int duration)
Extends the expiration time of the lock by some service-defined increment. |
void |
MemoryEntityLockStore.update(IEntityLock lock,
java.util.Date newExpiration)
|
void |
RDBMEntityLockStore.update(IEntityLock lock,
java.util.Date newExpiration)
|
void |
IEntityLockStore.update(IEntityLock lock,
java.util.Date newExpiration)
Updates the lock's expiration in the underlying store. |
void |
MemoryEntityLockStore.update(IEntityLock lock,
java.util.Date newExpiration,
java.lang.Integer newLockType)
Make sure the store has a reference to the lock, and then add the lock to refresh the SmartCache wrapper. |
void |
RDBMEntityLockStore.update(IEntityLock lock,
java.util.Date newExpiration,
java.lang.Integer newLockType)
Updates the lock's expiration and lockType in the
underlying store. |
void |
IEntityLockStore.update(IEntityLock lock,
java.util.Date newExpiration,
java.lang.Integer newLockType)
Updates the lock's expiration and lockType in the
underlying store. |
Uses of IEntityLock in org.jasig.portal.groups |
---|
Fields in org.jasig.portal.groups declared as IEntityLock | |
---|---|
protected IEntityLock |
LockableEntityGroupImpl.lock
|
Methods in org.jasig.portal.groups that return IEntityLock | |
---|---|
IEntityLock |
LockableEntityGroupImpl.getLock()
|
IEntityLock |
ILockableEntityGroup.getLock()
|
Methods in org.jasig.portal.groups with parameters of type IEntityLock | |
---|---|
void |
LockableEntityGroupImpl.setLock(IEntityLock newLock)
|
void |
ILockableEntityGroup.setLock(IEntityLock lock)
|
Uses of IEntityLock in org.jasig.portal.services |
---|
Methods in org.jasig.portal.services that return IEntityLock | |
---|---|
IEntityLock |
EntityLockService.newReadLock(java.lang.Class entityType,
java.lang.String entityKey,
java.lang.String owner)
Returns a read lock for the entity type, entity key and owner. |
IEntityLock |
EntityLockService.newReadLock(java.lang.Class entityType,
java.lang.String entityKey,
java.lang.String owner,
int duration)
Returns a read lock for the entity type, entity key and owner. |
IEntityLock |
EntityLockService.newReadLock(EntityIdentifier entityID,
java.lang.String owner)
Returns a read lock for the IBasicEntity and owner. |
IEntityLock |
EntityLockService.newReadLock(EntityIdentifier entityID,
java.lang.String owner,
int durationSecs)
Returns a read lock for the IBasicEntity , owner and duration. |
IEntityLock |
EntityLockService.newWriteLock(java.lang.Class entityType,
java.lang.String entityKey,
java.lang.String owner)
Returns a write lock for the entity type, entity key and owner. |
IEntityLock |
EntityLockService.newWriteLock(java.lang.Class entityType,
java.lang.String entityKey,
java.lang.String owner,
int durationSecs)
Returns a write lock for the entity type, entity key and owner. |
IEntityLock |
EntityLockService.newWriteLock(EntityIdentifier entityID,
java.lang.String owner)
Returns a write lock for the IBasicEntity and owner. |
IEntityLock |
EntityLockService.newWriteLock(EntityIdentifier entityID,
java.lang.String owner,
int durationSecs)
Returns a write lock for the IBasicEntity , owner and duration. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |