Interface Recording

All Known Implementing Classes:
RecordingImpl

public interface Recording
An in-memory construct to represent the state of a recording, and when it was last heard from.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the ID of the recording.
    Gets the time at which the recording last checked in.
    Gets the state of the recording.
    void
    setState(String newState)
    Sets the state of the recording, and updates the time it was last heard from.
  • Method Details

    • getID

      String getID()
      Gets the ID of the recording.
      Returns:
      The ID of the recording.
    • setState

      void setState(String newState)
      Sets the state of the recording, and updates the time it was last heard from.
      Parameters:
      newState - The new state of the recording. This should be defined from RecordingState. This can be equal to the current one if the goal is to update the timestamp.
      See Also:
    • getState

      String getState()
      Gets the state of the recording.
      Returns:
      The state of the recording. This should be defined from RecordingState.
      See Also:
    • getLastCheckinTime

      Long getLastCheckinTime()
      Gets the time at which the recording last checked in.
      Returns:
      The number of milliseconds since 1970 when the recording last checked in.