Prevayler™
The Free Software
Prevalence Layer
C D E O P Q T

C

Clock - interface org.prevayler.Clock.
Tells the 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 interface org.prevayler.Prevayler
Closes any files or other system resources opened by this Prevayler.
configureClock(Clock) - Method in class org.prevayler.PrevaylerFactory
Configures the Clock that will be used by the created Prevayler.
configurePrevalenceBase(String) - Method in class org.prevayler.PrevaylerFactory
Configures the directory where the created Prevayler will read and write its .transactionLog and .snapshot files.
configurePrevalentSystem(Object) - Method in class org.prevayler.PrevaylerFactory
Configures the prevalent system that will be used by the Prevayler created by this factory.
configureReplicationClient(String, int) - Method in class org.prevayler.PrevaylerFactory
Reserved for future implementation.
configureReplicationServer(int) - Method in class org.prevayler.PrevaylerFactory
Reserved for future implementation.
configureSnapshotManager(SnapshotManager) - Method in class org.prevayler.PrevaylerFactory
Configures the SnapshotManager to be used by the Prevayler created by this factory.
configureTransactionFiltering(boolean) - Method in class org.prevayler.PrevaylerFactory
Determines whether the Prevayler created by this factory should filter out all Transactions that would throw a RuntimeException or Error if executed on the Prevalent System (default is true).
configureTransactionLogFileAgeThreshold(long) - Method in class org.prevayler.PrevaylerFactory
 
configureTransactionLogFileSizeThreshold(long) - Method in class org.prevayler.PrevaylerFactory
 
configureTransientMode(boolean) - Method in class org.prevayler.PrevaylerFactory
Determines whether the Prevayler created by this factory should be transient (transientMode = true) or persistent (transientMode = false).
create() - Method in class org.prevayler.PrevaylerFactory
Returns a Prevayler created according to what was defined by calls to the configuration methods above.
createCheckpointPrevayler(Serializable, String) - Static method in class org.prevayler.PrevaylerFactory
Creates a Prevayler that will execute Transactions WITHOUT writing them to disk.
createPrevayler(Serializable) - Static method in class org.prevayler.PrevaylerFactory
Creates a Prevayler that will use a directory called "PrevalenceBase" under the current directory to read and write its .snapshot and .transactionLog files.
createPrevayler(Serializable, String) - Static method in class org.prevayler.PrevaylerFactory
Creates a Prevayler that will use the given prevalenceBase directory to read and write its .snapshot and .transactionLog files.
createTransientPrevayler(Serializable) - Static method in class org.prevayler.PrevaylerFactory
Creates a Prevayler that will execute Transactions WITHOUT writing them to disk.
createTransientPrevayler(Serializable, String) - Static method in class org.prevayler.PrevaylerFactory
Deprecated. Use createCheckpointPrevayler() instead of this method. Deprecated since Prevayler2.00.001.

D

DEFAULT_REPLICATION_PORT - Static variable in class org.prevayler.PrevaylerFactory
 

E

execute(Transaction) - Method in interface org.prevayler.Prevayler
Executes the given Transaction on the prevalentSystem().
execute(Query) - Method in interface org.prevayler.Prevayler
Executes the given sensitiveQuery on the prevalentSystem().
execute(TransactionWithQuery) - Method in interface org.prevayler.Prevayler
Executes the given transactionWithQuery on the prevalentSystem().
executeAndQuery(Object, 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) - Method in interface org.prevayler.Transaction
This method is called by Prevayler.execute(Transaction) to execute this Transaction on the given Prevalent System.

O

org.prevayler - package org.prevayler
 

P

Prevayler - interface org.prevayler.Prevayler.
Implementations of this interface can provide transparent persistence and replication to all Business Objects in a Prevalent System.
PrevaylerFactory - class org.prevayler.PrevaylerFactory.
Provides easy access to all Prevayler configurations and implementations available in this distribution.
PrevaylerFactory() - Constructor for class org.prevayler.PrevaylerFactory
 
prevalentSystem() - Method in interface org.prevayler.Prevayler
Returns the Object which holds direct or indirect references to all other Business Objects in the system.

Q

Query - interface org.prevayler.Query.
Represents a query that can be executed on a Prevalent System.
query(Object, Date) - Method in interface org.prevayler.Query
 

T

Transaction - interface org.prevayler.Transaction.
An atomic Transaction to be executed on a Prevalent System.
TransactionWithQuery - interface org.prevayler.TransactionWithQuery.
A Transaction that also returns a result or throws an Exception after executing.
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.

C D E O P Q T

'Prevayler' is a trademark of Klaus Wuestefeld.
Copyleft 2001-2004 Klaus Wuestefeld.