org.apache.derby.iapi.services.locks
Interface Limit

All Known Implementing Classes:
Xact

public interface Limit

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(java.lang.Object, java.lang.Object, int, org.apache.derby.iapi.services.locks.Limit)

Method Summary
 void reached(java.lang.Object compatabilitySpace, java.lang.Object group, int limit, java.util.Enumeration lockList, int lockCount)
          Called by the lock factory when a limit has been reached.
 

Method Detail

reached

public void reached(java.lang.Object compatabilitySpace,
                    java.lang.Object group,
                    int limit,
                    java.util.Enumeration lockList,
                    int lockCount)
             throws StandardException
Called by the lock factory when a limit has been reached.

Parameters:
compatabilitySpace - lock space the limit was set for
group - lock group the limit was set for
limit - the limit's setting
lockList - the list of Lockable's in the group
lockCount - the number of locks in the group
Throws:
StandardException - Standard Cloudscape error policy.

Built on Mon 2007-06-04 09:58:47+0400, from revision ???

Apache Derby V10.1 Engine Documentation - Copyright © 1997,2005 The Apache Software Foundation or its licensors, as applicable.