net.lag.kestrel

Journal

class Journal extends AnyRef

Codes for working with the journal file for a PersistentQueue.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Journal
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Journal (fullPath: String)

  2. new Journal (fullPath: String, syncJournal: Duration)

  3. new Journal (queuePath: File, queueName: String, syncScheduler: ScheduledExecutorService, syncJournal: Duration)

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. def add (item: QItem): Future[Unit]

  7. var archivedSize : Long

  8. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  9. def calculateArchiveSize (): Unit

  10. var checkpoint : Option[Checkpoint]

  11. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  12. def close (): Unit

  13. var closed : Boolean

  14. def confirmRemove (xid: Int): Unit

  15. def continue (xid: Int, item: QItem): Future[Unit]

  16. def dump (reservedItems: Iterable[QItem], queue: Iterable[QItem]): Unit

  17. def dump (reservedItems: Iterable[QItem], openItems: Iterable[QItem], pentUpDeletes: Int, queue: Iterable[QItem]): Unit

  18. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  19. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  20. def erase (): Unit

  21. def fillReadBehind (gotItem: (QItem) ⇒ Unit)(gotCheckpoint: (Checkpoint) ⇒ Unit): Unit

  22. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  23. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  24. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  25. def inReadBehind : Boolean

  26. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  27. def isReplaying : Boolean

  28. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  29. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  30. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  31. def open (): Unit

  32. val outstandingPackRequests : AtomicInteger

  33. def readJournalEntry (in: FileChannel): (JournalItem, Int)

  34. def remove (): Unit

  35. def removeTentative (xid: Int): Unit

  36. var removesSinceReadBehind : Int

  37. def replay (f: (JournalItem) ⇒ Unit): Unit

  38. def replayFile (name: String, filename: String)(f: (JournalItem) ⇒ Unit): Unit

  39. def rewrite (reservedItems: Seq[QItem], queue: Iterable[QItem]): Unit

  40. def rotate (reservedItems: Seq[QItem], setCheckpoint: Boolean): Option[Checkpoint]

  41. var size : Long

  42. def startPack (checkpoint: Checkpoint, openItems: Iterable[QItem], queueState: Seq[QItem]): Unit

  43. def startReadBehind (): Unit

  44. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  45. def toString (): String

    Definition Classes
    AnyRef → Any
  46. def unremove (xid: Int): Unit

  47. def wait (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  48. def wait (arg0: Long, arg1: Int): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  49. def wait (arg0: Long): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  50. def waitForPacksToFinish (): Unit

  51. def walk (): Iterator[(JournalItem, Int)]

Inherited from AnyRef

Inherited from Any