Interface Limit
-
- All Known Implementing Classes:
InternalXact,Xact
public interface LimitA limit represents a callback on a lock group. It is called when the size of the group reaches the limit set on the call.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidreached(CompatibilitySpace compatibilitySpace, 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
void reached(CompatibilitySpace compatibilitySpace, 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:
compatibilitySpace- lock space the limit was set forgroup- lock group the limit was set forlimit- the limit's settinglockList- the list of Lockable's in the grouplockCount- the number of locks in the group- Throws:
StandardException- Standard Derby error policy.
-
-