Interface Limit

All Known Implementing Classes:
InternalXact, 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:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    reached(CompatibilitySpace compatibilitySpace, Object group, int limit, Enumeration lockList, int lockCount)
    Called by the lock factory when a limit has been reached.
  • Method Details

    • reached

      void reached(CompatibilitySpace compatibilitySpace, Object group, int limit, 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 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 Derby error policy.