|
||||||||||
| 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(Class entityType,
String entityKey,
int lockType,
String owner)
Returns a lock for the entity, lock type and owner. |
IEntityLock |
IEntityLockService.newLock(Class entityType,
String entityKey,
int lockType,
String owner,
int durationSecs)
Returns a lock for the entity, lock type and owner. |
IEntityLock |
IEntityLockService.newLock(EntityIdentifier entityID,
int lockType,
String owner)
Returns a lock for the entity, lock type and owner. |
IEntityLock |
IEntityLockService.newLock(EntityIdentifier entityID,
int lockType,
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(Class entityType,
String entityKey,
Integer lockType,
Date expiration,
String lockOwner)
Returns an IEntityLock[] based on the params, any or all of which may be null. |
IEntityLock[] |
RDBMEntityLockStore.find(Class entityType,
String entityKey,
Integer lockType,
Date expiration,
String lockOwner)
Retrieve IEntityLocks from the underlying store. |
IEntityLock[] |
IEntityLockStore.find(Class entityType,
String entityKey,
Integer lockType,
Date expiration,
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(Date expiration,
Class entityType,
String entityKey,
Integer lockType,
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(Date expiration,
Class entityType,
String entityKey,
Integer lockType,
String lockOwner)
Retrieve IEntityLocks from the underlying store. |
IEntityLock[] |
IEntityLockStore.findUnexpired(Date expiration,
Class entityType,
String entityKey,
Integer lockType,
String lockOwner)
Returns an IEntityLock[] containing unexpired locks, based on the params, any or all of which may be null EXCEPT FOR expiration. |
IEntityLock |
ReferenceEntityLockService.newLock(Class entityType,
String entityKey,
int lockType,
String owner)
Returns a lock for the entity, lock type and owner if no conflicting locks exist. |
IEntityLock |
ReferenceEntityLockService.newLock(Class entityType,
String entityKey,
int lockType,
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,
String owner)
Returns a lock for the entity, lock type and owner if no conflicting locks exist. |
IEntityLock |
ReferenceEntityLockService.newLock(EntityIdentifier entityID,
int lockType,
String owner,
int durationSecs)
Returns a lock for the entity, lock type and owner if no conflicting locks exist. |
| 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. |
boolean |
ReferenceEntityLockService.isValid(IEntityLock lock)
Answers if this IEntityLock represents a lock that is still
good. |
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,
Date newExpiration)
|
void |
RDBMEntityLockStore.update(IEntityLock lock,
Date newExpiration)
|
void |
IEntityLockStore.update(IEntityLock lock,
Date newExpiration)
Updates the lock's expiration in the underlying store. |
void |
MemoryEntityLockStore.update(IEntityLock lock,
Date newExpiration,
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,
Date newExpiration,
Integer newLockType)
Updates the lock's expiration and lockType in the
underlying store. |
void |
IEntityLockStore.update(IEntityLock lock,
Date newExpiration,
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(Class entityType,
String entityKey,
String owner)
Returns a read lock for the entity type, entity key and owner. |
IEntityLock |
EntityLockService.newReadLock(Class entityType,
String entityKey,
String owner,
int duration)
Returns a read lock for the entity type, entity key and owner. |
IEntityLock |
EntityLockService.newReadLock(EntityIdentifier entityID,
String owner)
Returns a read lock for the IBasicEntity and owner. |
IEntityLock |
EntityLockService.newReadLock(EntityIdentifier entityID,
String owner,
int durationSecs)
Returns a read lock for the IBasicEntity, owner and duration. |
IEntityLock |
EntityLockService.newWriteLock(Class entityType,
String entityKey,
String owner)
Returns a write lock for the entity type, entity key and owner. |
IEntityLock |
EntityLockService.newWriteLock(Class entityType,
String entityKey,
String owner,
int durationSecs)
Returns a write lock for the entity type, entity key and owner. |
IEntityLock |
EntityLockService.newWriteLock(EntityIdentifier entityID,
String owner)
Returns a write lock for the IBasicEntity and owner. |
IEntityLock |
EntityLockService.newWriteLock(EntityIdentifier entityID,
String owner,
int durationSecs)
Returns a write lock for the IBasicEntity, owner and duration. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||