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. final def !=(arg0: AnyRef): Boolean

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

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

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

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

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

  7. var archivedSize: Long

  8. final def asInstanceOf[T0]: T0

    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. final def eq(arg0: AnyRef): Boolean

    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. final def getClass(): java.lang.Class[_]

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

    Definition Classes
    AnyRef → Any
  25. def inReadBehind: Boolean

  26. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  27. def isReplaying: Boolean

  28. final def ne(arg0: AnyRef): Boolean

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

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

    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. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  45. def toString(): String

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

  47. final def wait(): Unit

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

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

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

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

Inherited from AnyRef

Inherited from Any