class
Journal
extends AnyRef
Instance Constructors
-
new
Journal
(fullPath: String)
-
new
Journal
(fullPath: String, syncJournal: Duration)
-
new
Journal
(queuePath: File, queueName: String, syncScheduler: ScheduledExecutorService, syncJournal: Duration)
Value Members
-
def
!=
(arg0: AnyRef): Boolean
-
def
!=
(arg0: Any): Boolean
-
def
##
(): Int
-
def
==
(arg0: AnyRef): Boolean
-
def
==
(arg0: Any): Boolean
-
def
add
(item: QItem): Future[Unit]
-
var
archivedSize
: Long
-
def
asInstanceOf
[T0]
: T0
-
def
calculateArchiveSize
(): Unit
-
var
checkpoint
: Option[Checkpoint]
-
def
clone
(): AnyRef
-
def
close
(): Unit
-
var
closed
: Boolean
-
def
confirmRemove
(xid: Int): Unit
-
def
continue
(xid: Int, item: QItem): Future[Unit]
-
def
dump
(reservedItems: Iterable[QItem], queue: Iterable[QItem]): Unit
-
def
dump
(reservedItems: Iterable[QItem], openItems: Iterable[QItem], pentUpDeletes: Int, queue: Iterable[QItem]): Unit
-
def
eq
(arg0: AnyRef): Boolean
-
def
equals
(arg0: Any): Boolean
-
def
erase
(): Unit
-
def
fillReadBehind
(gotItem: (QItem) ⇒ Unit)(gotCheckpoint: (Checkpoint) ⇒ Unit): Unit
-
def
finalize
(): Unit
-
def
getClass
(): java.lang.Class[_]
-
def
hashCode
(): Int
-
def
inReadBehind
: Boolean
-
def
isInstanceOf
[T0]
: Boolean
-
def
isReplaying
: Boolean
-
def
ne
(arg0: AnyRef): Boolean
-
def
notify
(): Unit
-
def
notifyAll
(): Unit
-
def
open
(): Unit
-
val
outstandingPackRequests
: AtomicInteger
-
def
readJournalEntry
(in: FileChannel): (JournalItem, Int)
-
def
remove
(): Unit
-
def
removeTentative
(xid: Int): Unit
-
var
removesSinceReadBehind
: Int
-
def
replay
(f: (JournalItem) ⇒ Unit): Unit
-
def
replayFile
(name: String, filename: String)(f: (JournalItem) ⇒ Unit): Unit
-
def
rewrite
(reservedItems: Seq[QItem], queue: Iterable[QItem]): Unit
-
def
rotate
(reservedItems: Seq[QItem], setCheckpoint: Boolean): Option[Checkpoint]
-
var
size
: Long
-
def
startPack
(checkpoint: Checkpoint, openItems: Iterable[QItem], queueState: Seq[QItem]): Unit
-
def
startReadBehind
(): Unit
-
def
synchronized
[T0]
(arg0: ⇒ T0): T0
-
def
toString
(): String
-
def
unremove
(xid: Int): Unit
-
def
wait
(): Unit
-
def
wait
(arg0: Long, arg1: Int): Unit
-
def
wait
(arg0: Long): Unit
-
def
waitForPacksToFinish
(): Unit
-
def
walk
(): Iterator[(JournalItem, Int)]
Inherited from AnyRef
Inherited from Any
Codes for working with the journal file for a PersistentQueue.