Uses of Class
org.jasig.portal.concurrency.LockingException

Packages that use LockingException
org.jasig.portal.concurrency   
org.jasig.portal.concurrency.locking   
org.jasig.portal.services   
 

Uses of LockingException in org.jasig.portal.concurrency
 

Methods in org.jasig.portal.concurrency that throw LockingException
 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.
 void IEntityLock.convert(int newType)
          Attempts to change the lockType of this lock to newType.
 void IEntityLock.convert(int newType, int newDuration)
          Attempts to change the lockType of this lock to newType.
 boolean IEntityLockService.existsInStore(IEntityLock lock)
          Answer if this IEntityLock exists in the store.
 boolean IEntityLock.isValid()
          Answers if this lock is still good.
 boolean IEntityLockService.isValid(IEntityLock lock)
          Answers if this IEntityLock represents a lock that is still good.
 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.
 IEntityLockService IEntityLockServiceFactory.newLockService()
          Return an IEntityLockService instance.
 void IEntityLock.release()
          Invalidate the lock.
 void IEntityLockService.release(IEntityLock lock)
          Releases the IEntityLock.
 void IEntityLock.renew()
          Extends the expiration time of this lock for a service-defined period.
 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.
 void IEntityLock.renew(int duration)
          Extends the expiration time of this lock for duration seconds.
 

Uses of LockingException in org.jasig.portal.concurrency.locking
 

Methods in org.jasig.portal.concurrency.locking that throw LockingException
 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 EntityLockImpl.convert(int newType)
          Delegate to the service.
 void EntityLockImpl.convert(int newType, int duration)
          Delegate to the service.
 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.deleteAll()
          Delete all IEntityLocks from the underlying store.
 void IEntityLockStore.deleteAll()
          Delete all IEntityLocks from the store.
 void MemoryEntityLockStore.deleteExpired(java.util.Date expiration)
          Deletes the expired IEntityLocks from the underlying store.
 void RDBMEntityLockStore.deleteExpired(java.util.Date expiration)
          Delete all expired IEntityLocks from the underlying store.
 void IEntityLockStore.deleteExpired(java.util.Date expiration)
          Deletes the expired IEntityLocks from the underlying store.
 void RDBMEntityLockStore.deleteExpired(java.util.Date expiration, java.lang.Class entityType, java.lang.String entityKey)
          Delete IEntityLocks from the underlying store that have expired as of expiration.
 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(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  void RDBMEntityLockStore.initialize()
          Cleanup the store by deleting locks expired an hour ago.
private  void ReferenceEntityLockService.initialize()
           
private  IEntityLock RDBMEntityLockStore.instanceFromResultSet(java.sql.ResultSet rs)
          Extract values from ResultSet and create a new lock.
private  boolean ReferenceEntityLockService.isLocked(java.lang.Class entityType, java.lang.String entityKey)
          Answers if the entity represented by the entityType and entityKey already has a lock of some type.
private  boolean ReferenceEntityLockService.isLocked(java.lang.Class entityType, java.lang.String entityKey, java.lang.Integer lockType)
          Answers if the entity represented by entityType and entityKey has one or more locks.
 boolean EntityLockImpl.isValid()
          Delegate to the service.
 boolean ReferenceEntityLockService.isValid(IEntityLock lock)
          Answers if this IEntityLock represents a lock that is still good.
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.
 IEntityLockService ReferenceEntityLockServiceFactory.newLockService()
          Return an instance of the service implementation.
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.primDeleteExpired(java.util.Date expiration, java.lang.Class entityType, java.lang.String entityKey, java.sql.Connection conn)
          Delete IEntityLocks from the underlying store that have expired as of expiration.
private  IEntityLock[] RDBMEntityLockStore.primSelect(java.lang.String sql)
          Retrieve IEntityLocks 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 EntityLockImpl.release()
          Delegate to the service.
 void ReferenceEntityLockService.release(IEntityLock lock)
          Releases the IEntityLock.
 void EntityLockImpl.renew()
          Delegate to the service.
 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 EntityLockImpl.renew(int duration)
          Delegate to the service.
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.
static IEntityLockStore RDBMEntityLockStore.singleton()
           
static IEntityLockService ReferenceEntityLockService.singleton()
           
 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.
 

Constructors in org.jasig.portal.concurrency.locking that throw LockingException
RDBMEntityLockStore()
          RDBMEntityGroupStore constructor.
ReferenceEntityLockService()
          ReferenceEntityLockingService constructor comment.
 

Uses of LockingException in org.jasig.portal.services
 

Methods in org.jasig.portal.services that throw LockingException
private  void EntityLockService.initialize()
           
static EntityLockService EntityLockService.instance()
           
 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.
 

Constructors in org.jasig.portal.services that throw LockingException
EntityLockService()
          Creates new EntityLockService