Interface SessionDetails

All Known Implementing Classes:
DesktopProject, LocalProject, ShadowProject

public interface SessionDetails
Interface for session details extension for Projects
  • Method Details

    • getSessionModificationTime

      ZonedDateTime getSessionModificationTime(Session session)
      Returns the modification date for the given session
      Parameters:
      session -
      Returns:
      session modification date in system time zone
    • getSessionModificationTime

      ZonedDateTime getSessionModificationTime(String corpus, String session)
      Returns the modification date for the specified session.
      Parameters:
      corpus -
      session -
      Returns:
      session modification date in system time zone
    • getSessionByteSize

      long getSessionByteSize(Session session)
      Returns the size on disk for the given session.
      Parameters:
      session -
      Returns:
      session size in bytes
    • getSessionByteSize

      long getSessionByteSize(String corpus, String session)
      Returns the size on disk for the given session.
      Parameters:
      corpus -
      session -
      Returns:
      session size in bytes
    • numberOfRecordsInSession

      int numberOfRecordsInSession(String corpus, String session) throws IOException
      Returns the number of records in a session w/o opening the session. This method is faster than using openSession(corpus, session).numberOfRecords()
      Parameters:
      session -
      Returns:
      number of records in the session
      Throws:
      IOException