Top Description Methods
org.apache.derby.iapi.services.locks

public Interface Limit

Known Direct Implementers
org.apache.derby.impl.store.raw.xact.Xact
Imports
org.apache.derby.shared.common.error.StandardException, java.util.Enumeration

A limit represents a callback on a lock group. It is called when the size of the group reaches the limit set on the call.
See Also
LockFactory#setLimit

Method Summary

Modifier and TypeMethod and Description
public void
reached(CompatibilitySpace
lock space the limit was set for
compatibilitySpace
,
Object
lock group the limit was set for
group
,
int
the limit's setting
limit
,
Enumeration<E>
the list of Lockable's in the group
lockList
,
int
the number of locks in the group
lockCount
)

Called by the lock factory when a limit has been reached.

Method Detail

reachedback to summary
public void reached(CompatibilitySpace compatibilitySpace, Object group, int limit, Enumeration<E> lockList, int lockCount) throws StandardException

Called by the lock factory when a limit has been reached.

Parameters
compatibilitySpace:CompatibilitySpace

lock space the limit was set for

group:Object

lock group the limit was set for

limit:int

the limit's setting

lockList:Enumeration<E>

the list of Lockable's in the group

lockCount:int

the number of locks in the group

Exceptions
StandardException:
Standard Derby error policy.