Interface LeaseListener

All Known Implementing Classes:
RSRpcServices.ScannerListener

@Private public interface LeaseListener
LeaseListener is an interface meant to be implemented by users of the Leases class. It receives events from the Leases class about the status of its accompanying lease. Users of the Leases class can use a LeaseListener subclass to, for example, clean up resources after a lease has expired.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    When a lease expires, this method is called.
  • Method Details

    • leaseExpired

      void leaseExpired()
      When a lease expires, this method is called.