Interface SessionOwnershipReadListener


  • public interface SessionOwnershipReadListener

    Callback interface for Session Ownership Facility users that reports the outcome of read (retrieve) query operations.

    Since:
    Rhino 2.6.1
    • Method Detail

      • onReadSuccess

        void onReadSuccess​(Set<SessionOwnershipRecord> records)

        Callback made when the session ownership facility completes a read query operation successfully.

        Parameters:
        records - a set containing all the retrieved records. This may be an empty set if no records were found for the query.
        Since:
        Rhino 2.6.1
      • onReadFailure

        void onReadFailure​(Exception e)

        Callback made when the session ownership facility is unable to complete a read query operation successfully.

        Parameters:
        e - the exception that caused the failure, or null if there was no associated exception.
        Since:
        Rhino 2.6.1