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
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
def
add(item: QItem): Future[Unit]
-
var
archivedSize: Long
-
final
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
-
final
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
-
final
def
getClass(): java.lang.Class[_]
-
def
hashCode(): Int
-
def
inReadBehind: Boolean
-
final
def
isInstanceOf[T0]: Boolean
-
def
isReplaying: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
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
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
def
unremove(xid: Int): Unit
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
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.