Interface ReadTransactionManager<T extends ReadTransactionManager<T>>

  • Type Parameters:
    T - The type of the lowest level child object.
    All Superinterfaces:
    TransactionManager<T>
    All Known Subinterfaces:
    FreeTransactionManager

    public interface ReadTransactionManager<T extends ReadTransactionManager<T>>
    extends TransactionManager<T>
    Transaction manager dedicated to "READ" operations.
    Since:
    0.1.0
    • Method Detail

      • prepareReadSystemKeyParameters

        T prepareReadSystemKeyParameters​(SystemKeyType systemKeyType)
        Schedules the execution of a "Read Key Parameters" command for a system key.

        Once this command is processed, the result is accessible with LegacySam.getSystemKeyParameter(SystemKeyType).

        Parameters:
        systemKeyType - The type of system key.
        Returns:
        The current instance.
        Throws:
        java.lang.IllegalArgumentException - If the provided argument is null.
        Since:
        0.2.0
      • prepareReadCounterStatus

        T prepareReadCounterStatus​(int counterNumber)
        Schedules the execution of a "Read Event Counter" and "Read Ceiling" commands to read the status of a counter.

        Note: the status of each counter of the record to which the targeted counter belongs will be read. The number of commands actually transmitted to the SAM will be optimized when the TransactionManager.processCommands() method is executed.

        Parameters:
        counterNumber - The number of the counter whose status is to be read (in range [0..26]).
        Returns:
        The current instance.
        Throws:
        java.lang.IllegalArgumentException - If the provided argument is out of range.
        Since:
        0.2.0
      • prepareReadAllCountersStatus

        T prepareReadAllCountersStatus()
        Schedules the execution of a "Read Event Counter" and "Read Ceiling" commands to read the status of all counters.
        Returns:
        The current instance.
        Since:
        0.2.0