A B C D E F G I J L M N O P Q R S T U W _

A

abort(String, Throwable) - Method in class org.prevayler.foundation.Turn
Abort the pipeline.
abortTurn(String, Throwable) - Method in class org.prevayler.foundation.Guided
 
AbstractPublisher - Class in org.prevayler.implementation.publishing
This class provides basic subscriber addition and notification.
AbstractPublisher(Clock) - Constructor for class org.prevayler.implementation.publishing.AbstractPublisher
 
addSubscriber(TransactionSubscriber) - Method in class org.prevayler.implementation.publishing.AbstractPublisher
 
advanceTo(Date) - Method in class org.prevayler.implementation.clock.BrokenClock
 
advanceTo(Date) - Method in class org.prevayler.implementation.clock.PausableClock
 
append(TransactionGuide) - Method in interface org.prevayler.implementation.journal.Journal
 
append(TransactionGuide) - Method in class org.prevayler.implementation.journal.PersistentJournal
 
append(TransactionGuide) - Method in class org.prevayler.implementation.journal.TransientJournal
 

B

BrokenClock - Class in org.prevayler.implementation.clock
A deterministic Clock that always returns the same time until it is forced to advance.
BrokenClock() - Constructor for class org.prevayler.implementation.clock.BrokenClock
 
BrokenClock(Date) - Constructor for class org.prevayler.implementation.clock.BrokenClock
 

C

cancelSubscription(TransactionSubscriber) - Method in class org.prevayler.implementation.publishing.AbstractPublisher
 
cancelSubscription(TransactionSubscriber) - Method in interface org.prevayler.implementation.publishing.TransactionPublisher
Stops publishing future transactions to the given subscriber.
Capsule - Class in org.prevayler.implementation
 
Capsule(Object, Serializer, boolean) - Constructor for class org.prevayler.implementation.Capsule
 
Capsule(byte[]) - Constructor for class org.prevayler.implementation.Capsule
 
capsule() - Method in class org.prevayler.implementation.TransactionTimestamp
 
CentralPublisher - Class in org.prevayler.implementation.publishing
 
CentralPublisher(Clock, Journal) - Constructor for class org.prevayler.implementation.publishing.CentralPublisher
 
checkSystemVersion(long) - Method in class org.prevayler.implementation.TransactionGuide
 
checkValidJournalSuffix(String) - Static method in class org.prevayler.implementation.PrevaylerDirectory
Ensure that the given suffix (which should not include a dot) is valid for journals.
checkValidSnapshotSuffix(String) - Static method in class org.prevayler.implementation.PrevaylerDirectory
Ensure that the given suffix (which should not include a dot) is valid for snapshots.
Chunk - Class in org.prevayler.foundation
 
Chunk(byte[]) - Constructor for class org.prevayler.foundation.Chunk
 
Chunk(byte[], Map) - Constructor for class org.prevayler.foundation.Chunk
 
Chunking - Class in org.prevayler.foundation
 
Chunking() - Constructor for class org.prevayler.foundation.Chunking
 
cleanCopy() - Method in class org.prevayler.implementation.Capsule
Makes a clean copy of this capsule that will have its own query result fields.
cleanCopy() - Method in class org.prevayler.implementation.TransactionTimestamp
 
Clock - Interface in org.prevayler
Tells the time.
clock() - Method in class org.prevayler.implementation.PrevaylerImpl
 
clock() - Method in class org.prevayler.implementation.publishing.AbstractPublisher
 
clock() - Method in interface org.prevayler.implementation.publishing.TransactionPublisher
Returns a Clock which is consistent with the Transaction publishing time.
clock() - Method in interface org.prevayler.Prevayler
Returns the Clock used to determine the execution time of all Transaction and Queries executed using this Prevayler.
close() - Method in class org.prevayler.foundation.DurableInputStream
 
close() - Method in class org.prevayler.foundation.DurableOutputStream
 
close() - Method in interface org.prevayler.implementation.journal.Journal
 
close() - Method in class org.prevayler.implementation.journal.PersistentJournal
 
close() - Method in class org.prevayler.implementation.journal.TransientJournal
 
close() - Method in class org.prevayler.implementation.PrevaylerImpl
 
close() - Method in class org.prevayler.implementation.publishing.CentralPublisher
 
close() - Method in interface org.prevayler.implementation.publishing.TransactionPublisher
Closes any files or other system resources opened by this TransactionPublisher.
close() - Method in interface org.prevayler.Prevayler
Closes any files or other system resources opened by this Prevayler.
Cool - Class in org.prevayler.foundation
Cool things that are often needed.
Cool() - Constructor for class org.prevayler.foundation.Cool
 
createTempFile(String, String) - Method in class org.prevayler.implementation.PrevaylerDirectory
Create a temporary file in the directory.

D

DeepCopier - Class in org.prevayler.foundation
 
DeepCopier() - Constructor for class org.prevayler.foundation.DeepCopier
 
deepCopy(Object) - Static method in class org.prevayler.foundation.DeepCopier
Same as deepCopy(original, new JavaSerializer()).
deepCopy(Object, Serializer) - Static method in class org.prevayler.foundation.DeepCopier
Produce a deep copy of the given object.
deepCopy(long, Serializer) - Method in class org.prevayler.implementation.PrevalentSystemGuard
 
deepCopyParallel(Object, Serializer) - Static method in class org.prevayler.foundation.DeepCopier
Produce a deep copy of the given object.
deserialize(Serializer) - Method in class org.prevayler.implementation.Capsule
Deserializes the contained Transaction or TransactionWithQuery.
DESSerializer - Class in org.prevayler.foundation.serialization
 
DESSerializer(Serializer, byte[]) - Constructor for class org.prevayler.foundation.serialization.DESSerializer
 
DurableInputStream - Class in org.prevayler.foundation
 
DurableInputStream(File, Monitor) - Constructor for class org.prevayler.foundation.DurableInputStream
 
DurableOutputStream - Class in org.prevayler.foundation
 
DurableOutputStream(File, boolean) - Constructor for class org.prevayler.foundation.DurableOutputStream
 

E

end() - Method in class org.prevayler.foundation.Turn
End a stage in the pipeline.
endTurn() - Method in class org.prevayler.foundation.Guided
 
error(Class, String, Exception) - Method in class org.prevayler.foundation.monitor.LoggingMonitor
 
error(Class, String, Exception) - Method in class org.prevayler.foundation.monitor.SimpleMonitor
 
execute(Transaction<? super P>) - Method in class org.prevayler.implementation.PrevaylerImpl
 
execute(Query<? super P, R>) - Method in class org.prevayler.implementation.PrevaylerImpl
 
execute(TransactionWithQuery<? super P, R>) - Method in class org.prevayler.implementation.PrevaylerImpl
 
execute(SureTransactionWithQuery<? super P, R>) - Method in class org.prevayler.implementation.PrevaylerImpl
 
execute(Transaction<? super P>) - Method in interface org.prevayler.Prevayler
Executes the given Transaction on the prevalentSystem().
execute(Query<? super P, R>) - Method in interface org.prevayler.Prevayler
Executes the given sensitiveQuery on the prevalentSystem().
execute(TransactionWithQuery<? super P, R>) - Method in interface org.prevayler.Prevayler
Executes the given transactionWithQuery on the prevalentSystem().
execute(SureTransactionWithQuery<? super P, R>) - Method in interface org.prevayler.Prevayler
The same as execute(TransactionWithQuery) except no Exception is thrown.
executeAndQuery(P, Date) - Method in interface org.prevayler.SureTransactionWithQuery
The same as TransactionWithQuery.executeAndQuery(P, Date) except it does not throw Exception when executed.
executeAndQuery(P, Date) - Method in interface org.prevayler.TransactionWithQuery
Performs the necessary modifications on the given prevalentSystem and also returns an object or throws an Exception.
executeOn(Object, Date, Serializer) - Method in class org.prevayler.implementation.Capsule
Executes a freshly deserialized copy of the transaction by default.
executeOn(P, Date) - Method in interface org.prevayler.Transaction
This method is called by Prevayler.execute(Transaction) to execute this Transaction on the given Prevalent System.
executeQuery(Query<? super P, R>, Clock) - Method in class org.prevayler.implementation.PrevalentSystemGuard
 
executionTime() - Method in class org.prevayler.implementation.TransactionGuide
 
executionTime() - Method in class org.prevayler.implementation.TransactionTimestamp
 

F

file() - Method in class org.prevayler.foundation.DurableOutputStream
 
FileManager - Class in org.prevayler.foundation
 
FileManager() - Constructor for class org.prevayler.foundation.FileManager
 
fileSyncCount() - Method in class org.prevayler.foundation.DurableOutputStream
 
findInitialJournalFile(long) - Method in class org.prevayler.implementation.PrevaylerDirectory
Find the journal file containing the desired transaction.
first() - Static method in class org.prevayler.foundation.Turn
The first turn through a pipeline, allowed to flow freely through all stages.
fromChunk(Chunk) - Static method in class org.prevayler.implementation.TransactionTimestamp
 

G

GenericSnapshotManager<P> - Class in org.prevayler.implementation.snapshot
 
GenericSnapshotManager(Map, String, P, PrevaylerDirectory, Serializer) - Constructor for class org.prevayler.implementation.snapshot.GenericSnapshotManager
 
getBytes() - Method in class org.prevayler.foundation.Chunk
 
getParameter(String) - Method in class org.prevayler.foundation.Chunk
 
getParameters() - Method in class org.prevayler.foundation.Chunk
 
Guided - Class in org.prevayler.foundation
 
Guided(Turn) - Constructor for class org.prevayler.foundation.Guided
 
GZIPSerializer - Class in org.prevayler.foundation.serialization
 
GZIPSerializer(Serializer) - Constructor for class org.prevayler.foundation.serialization.GZIPSerializer
 
GZIPSerializer(Serializer, int) - Constructor for class org.prevayler.foundation.serialization.GZIPSerializer
 

I

info(Class, String) - Method in class org.prevayler.foundation.monitor.LoggingMonitor
 
info(Class, String) - Method in class org.prevayler.foundation.monitor.SimpleMonitor
 
isInfoEnabled(Class) - Method in class org.prevayler.foundation.monitor.LoggingMonitor
default returns true.

J

JavaSerializer - Class in org.prevayler.foundation.serialization
Writes and reads objects using Java serialization.
JavaSerializer() - Constructor for class org.prevayler.foundation.serialization.JavaSerializer
 
JavaSerializer(ClassLoader) - Constructor for class org.prevayler.foundation.serialization.JavaSerializer
 
Journal - Interface in org.prevayler.implementation.journal
 
journalFile(long, String) - Method in class org.prevayler.implementation.PrevaylerDirectory
Generate a valid journal filename.
journalVersion(File) - Static method in class org.prevayler.implementation.PrevaylerDirectory
Extract the version number from a journal filename.
justExecute(Object, Object, Date) - Method in class org.prevayler.implementation.Capsule
Actually executes the Transaction or TransactionWithQuery.

L

latestSnapshot() - Method in class org.prevayler.implementation.PrevaylerDirectory
Find the latest snapshot file.
LoggingMonitor - Class in org.prevayler.foundation.monitor
Abstract Monitor for Logging implementation monitors to extend.
LoggingMonitor() - Constructor for class org.prevayler.foundation.monitor.LoggingMonitor
 

M

MachineClock - Class in org.prevayler.implementation.clock
A Clock that uses the local machine clock (System.currentTimeMillis()) as its time source.
MachineClock() - Constructor for class org.prevayler.implementation.clock.MachineClock
 
millisEllapsed() - Method in class org.prevayler.foundation.StopWatch
 
Monitor - Interface in org.prevayler.foundation.monitor
A Monitor for interesting events in the system.

N

necessaryFiles() - Method in class org.prevayler.implementation.PrevaylerDirectory
Determine which snapshot and journal files are still necessary for recovery.
next() - Method in class org.prevayler.foundation.Turn
The next turn through the pipeline, allowed to flow only as far as this turn has already gone.
nextTransaction() - Method in interface org.prevayler.implementation.journal.Journal
 
nextTransaction() - Method in class org.prevayler.implementation.journal.PersistentJournal
 
nextTransaction() - Method in class org.prevayler.implementation.journal.TransientJournal
 
notify(Class, String) - Method in class org.prevayler.foundation.monitor.LoggingMonitor
 
notify(Class, String, Exception) - Method in class org.prevayler.foundation.monitor.LoggingMonitor
 
notify(Class, String, File) - Method in class org.prevayler.foundation.monitor.LoggingMonitor
 
notify(Class, String, File, Exception) - Method in class org.prevayler.foundation.monitor.LoggingMonitor
 
notify(Class, String) - Method in interface org.prevayler.foundation.monitor.Monitor
Something interesting happened.
notify(Class, String, Exception) - Method in interface org.prevayler.foundation.monitor.Monitor
An interesting exception was thrown.
notify(Class, String, File) - Method in interface org.prevayler.foundation.monitor.Monitor
Something interesting happened regarding access to a file.
notify(Class, String, File, Exception) - Method in interface org.prevayler.foundation.monitor.Monitor
An exception was thrown while trying to access a file.
notify(Class, String, File, Exception) - Method in class org.prevayler.foundation.monitor.NullMonitor
Does nothing.
notify(Class, String) - Method in class org.prevayler.foundation.monitor.NullMonitor
Does nothing.
notify(Class, String, Exception) - Method in class org.prevayler.foundation.monitor.NullMonitor
Does nothing.
notify(Class, String, File) - Method in class org.prevayler.foundation.monitor.NullMonitor
Does nothing.
notifySubscribers(TransactionTimestamp) - Method in class org.prevayler.implementation.publishing.AbstractPublisher
 
NullMonitor - Class in org.prevayler.foundation.monitor
A Null Monitor, that does no logging at all.
NullMonitor() - Constructor for class org.prevayler.foundation.monitor.NullMonitor
 
NullSnapshotManager<P> - Class in org.prevayler.implementation.snapshot
 
NullSnapshotManager(P, String) - Constructor for class org.prevayler.implementation.snapshot.NullSnapshotManager
 

O

ObjectInputStreamWithClassLoader - Class in org.prevayler.foundation
 
ObjectInputStreamWithClassLoader(InputStream, ClassLoader) - Constructor for class org.prevayler.foundation.ObjectInputStreamWithClassLoader
 
org.prevayler - package org.prevayler
 
org.prevayler.foundation - package org.prevayler.foundation
 
org.prevayler.foundation.monitor - package org.prevayler.foundation.monitor
 
org.prevayler.foundation.serialization - package org.prevayler.foundation.serialization
 
org.prevayler.implementation - package org.prevayler.implementation
 
org.prevayler.implementation.clock - package org.prevayler.implementation.clock
 
org.prevayler.implementation.journal - package org.prevayler.implementation.journal
 
org.prevayler.implementation.publishing - package org.prevayler.implementation.publishing
 
org.prevayler.implementation.snapshot - package org.prevayler.implementation.snapshot
 

P

PausableClock - Class in org.prevayler.implementation.clock
 
PausableClock(Clock) - Constructor for class org.prevayler.implementation.clock.PausableClock
 
pause() - Method in class org.prevayler.implementation.clock.PausableClock
 
PersistentJournal - Class in org.prevayler.implementation.journal
A Journal that will write all transactions to .journal files.
PersistentJournal(PrevaylerDirectory, long, long, boolean, String, Monitor) - Constructor for class org.prevayler.implementation.journal.PersistentJournal
 
POBox - Class in org.prevayler.implementation.publishing
An assyncronous buffer for transaction subscribers.
POBox(TransactionSubscriber) - Constructor for class org.prevayler.implementation.publishing.POBox
 
prevalentSystem() - Method in class org.prevayler.implementation.PrevalentSystemGuard
 
prevalentSystem() - Method in class org.prevayler.implementation.PrevaylerImpl
 
prevalentSystem() - Method in interface org.prevayler.Prevayler
Returns the object which holds direct or indirect references to all other Business Objects in the system.
PrevalentSystemGuard<P> - Class in org.prevayler.implementation
 
PrevalentSystemGuard(P, long, Serializer) - Constructor for class org.prevayler.implementation.PrevalentSystemGuard
 
Prevayler<P> - Interface in org.prevayler
Implementations of this interface can provide transparent persistence and replication to all Business Objects in a Prevalent System.
PrevaylerDirectory - Class in org.prevayler.implementation
 
PrevaylerDirectory(String) - Constructor for class org.prevayler.implementation.PrevaylerDirectory
 
PrevaylerDirectory(File) - Constructor for class org.prevayler.implementation.PrevaylerDirectory
 
PrevaylerImpl<P> - Class in org.prevayler.implementation
 
PrevaylerImpl(GenericSnapshotManager<P>, TransactionPublisher, Serializer, boolean) - Constructor for class org.prevayler.implementation.PrevaylerImpl
Creates a new Prevayler
primarySerializer() - Method in class org.prevayler.implementation.snapshot.GenericSnapshotManager
 
produceDirectory(String) - Static method in class org.prevayler.foundation.FileManager
 
produceDirectory(File) - Static method in class org.prevayler.foundation.FileManager
 
produceDirectory() - Method in class org.prevayler.implementation.PrevaylerDirectory
Ensure that the directory exists, creating it and parent directories if necessary.
publish(Capsule) - Method in class org.prevayler.implementation.publishing.CentralPublisher
 
publish(Capsule) - Method in interface org.prevayler.implementation.publishing.TransactionPublisher
Publishes transaction to the subscribers synchronously.

Q

Query<P,R> - Interface in org.prevayler
Represents a query that can be executed on a Prevalent System.
query(P, Date) - Method in interface org.prevayler.Query
 

R

readChunk(InputStream) - Static method in class org.prevayler.foundation.Chunking
 
readChunk() - Method in class org.prevayler.foundation.DurableInputStream
 
readObject(InputStream) - Method in class org.prevayler.foundation.serialization.DESSerializer
 
readObject(InputStream) - Method in class org.prevayler.foundation.serialization.GZIPSerializer
 
readObject(InputStream) - Method in class org.prevayler.foundation.serialization.JavaSerializer
 
readObject(InputStream) - Method in interface org.prevayler.foundation.serialization.Serializer
Read an object from a stream.
reallyClosed() - Method in class org.prevayler.foundation.DurableOutputStream
 
realTime() - Method in class org.prevayler.implementation.clock.PausableClock
 
receive(TransactionTimestamp) - Method in class org.prevayler.implementation.PrevalentSystemGuard
 
receive(TransactionTimestamp) - Method in class org.prevayler.implementation.publishing.POBox
 
receive(TransactionTimestamp) - Method in interface org.prevayler.implementation.publishing.TransactionSubscriber
 
recoveredPrevalentSystem() - Method in class org.prevayler.implementation.snapshot.GenericSnapshotManager
 
renameUnusedFile(File) - Static method in class org.prevayler.implementation.PrevaylerDirectory
Rename a journal file to indicate it was found empty and is being ignored.
resolveClass(ObjectStreamClass) - Method in class org.prevayler.foundation.ObjectInputStreamWithClassLoader
 
resume() - Method in class org.prevayler.implementation.clock.PausableClock
 
run() - Method in class org.prevayler.implementation.publishing.POBox
 

S

secondsEllapsed() - Method in class org.prevayler.foundation.StopWatch
 
serialized() - Method in class org.prevayler.implementation.Capsule
Gets the serialized representation of the transaction.
Serializer - Interface in org.prevayler.foundation.serialization
A strategy for writing objects to and reading objects from streams.
setParameter(String, String) - Method in class org.prevayler.foundation.Chunk
 
SimpleMonitor - Class in org.prevayler.foundation.monitor
A Monitor that logs output to a PrintStream (System.out by default).
SimpleMonitor() - Constructor for class org.prevayler.foundation.monitor.SimpleMonitor
 
SimpleMonitor(PrintStream) - Constructor for class org.prevayler.foundation.monitor.SimpleMonitor
 
sleep(long) - Static method in class org.prevayler.foundation.Cool
 
snapshotFile(long, String) - Method in class org.prevayler.implementation.PrevaylerDirectory
Generate a valid snapshot filename.
snapshotVersion(File) - Static method in class org.prevayler.implementation.PrevaylerDirectory
Extract the version number from a snapshot filename.
start() - Static method in class org.prevayler.foundation.StopWatch
 
start() - Method in class org.prevayler.foundation.Turn
Start a stage in the pipeline.
startDaemon(Runnable) - Static method in class org.prevayler.foundation.Cool
 
startTurn() - Method in class org.prevayler.foundation.Guided
 
StopWatch - Class in org.prevayler.foundation
 
subscribe(TransactionSubscriber, long) - Method in class org.prevayler.implementation.publishing.CentralPublisher
 
subscribe(TransactionSubscriber, long) - Method in interface org.prevayler.implementation.publishing.TransactionPublisher
Updates the given subscriber with all transactions published since initialTransaction, returns and continues publishing all future transactions to him.
subscribeTo(TransactionPublisher) - Method in class org.prevayler.implementation.PrevalentSystemGuard
 
SureTransactionWithQuery<P,R> - Interface in org.prevayler
The same as TransactionWithQuery except it does not throw Exception when executed.
sync(Guided) - Method in class org.prevayler.foundation.DurableOutputStream
 
systemVersion() - Method in class org.prevayler.implementation.TransactionTimestamp
 

T

takeSnapshot(GenericSnapshotManager<P>) - Method in class org.prevayler.implementation.PrevalentSystemGuard
 
takeSnapshot() - Method in class org.prevayler.implementation.PrevaylerImpl
 
takeSnapshot() - Method in interface org.prevayler.Prevayler
Produces a complete serialized image of the underlying PrevalentSystem.
time() - Method in interface org.prevayler.Clock
Tells the time.
time() - Method in class org.prevayler.implementation.clock.BrokenClock
 
time() - Method in class org.prevayler.implementation.clock.MachineClock
 
time() - Method in class org.prevayler.implementation.clock.PausableClock
 
timestamp() - Method in class org.prevayler.implementation.TransactionGuide
 
toChunk() - Method in class org.prevayler.implementation.TransactionTimestamp
 
Transaction<P> - Interface in org.prevayler
An atomic transaction to be executed on a Prevalent System.
TransactionGuide - Class in org.prevayler.implementation
 
TransactionGuide(TransactionTimestamp, Turn) - Constructor for class org.prevayler.implementation.TransactionGuide
 
TransactionPublisher - Interface in org.prevayler.implementation.publishing
 
TransactionSubscriber - Interface in org.prevayler.implementation.publishing
 
TransactionTimestamp - Class in org.prevayler.implementation
 
TransactionTimestamp(Capsule, long, Date) - Constructor for class org.prevayler.implementation.TransactionTimestamp
 
TransactionWithQuery<P,R> - Interface in org.prevayler
A Transaction that also returns a result or throws an Exception after executing.
TransientJournal - Class in org.prevayler.implementation.journal
 
TransientJournal() - Constructor for class org.prevayler.implementation.journal.TransientJournal
 
Turn - Class in org.prevayler.foundation
Used to control progression of threads through the stages of a processing pipeline.

U

unexpected(Exception) - Static method in class org.prevayler.foundation.Cool
 
update(TransactionSubscriber, long) - Method in interface org.prevayler.implementation.journal.Journal
 
update(TransactionSubscriber, long) - Method in class org.prevayler.implementation.journal.PersistentJournal
IMPORTANT: This method cannot be called while the log() method is being called in another thread.
update(TransactionSubscriber, long) - Method in class org.prevayler.implementation.journal.TransientJournal
 

W

wait(Object) - Static method in class org.prevayler.foundation.Cool
 
waitToEmpty() - Method in class org.prevayler.implementation.publishing.POBox
 
writeChunk(OutputStream, Chunk) - Static method in class org.prevayler.foundation.Chunking
 
writeObject(OutputStream, Object) - Method in class org.prevayler.foundation.serialization.DESSerializer
 
writeObject(OutputStream, Object) - Method in class org.prevayler.foundation.serialization.GZIPSerializer
 
writeObject(OutputStream, Object) - Method in class org.prevayler.foundation.serialization.JavaSerializer
 
writeObject(OutputStream, Object) - Method in interface org.prevayler.foundation.serialization.Serializer
Write an object to a stream.
writeSnapshot(P, long) - Method in class org.prevayler.implementation.snapshot.GenericSnapshotManager
 
writeSnapshot(P, long) - Method in class org.prevayler.implementation.snapshot.NullSnapshotManager
 
writeTo(OutputStream) - Method in class org.prevayler.foundation.Guided
 
writeTo(OutputStream) - Method in class org.prevayler.implementation.TransactionGuide
 

_

_clock - Variable in class org.prevayler.implementation.publishing.AbstractPublisher
 
_millis - Variable in class org.prevayler.implementation.clock.BrokenClock
 

A B C D E F G I J L M N O P Q R S T U W _

Copyright © 2001-2013. All Rights Reserved.