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

A

abort(String, Throwable) - Method in class org.prevayler.foundation.Turn
Abort the pipeline.
abortTurn(String, Throwable) - Method in class org.prevayler.foundation.Guided
 
AbstractProxy - Class in org.prevayler.contrib.facade
 
AbstractProxy(Method, Object[], TransactionHint) - Constructor for class org.prevayler.contrib.facade.AbstractProxy
 
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
 
accept() - Method in interface org.prevayler.foundation.network.ObjectServerSocket
 
accept() - Method in class org.prevayler.foundation.network.ObjectServerSocketImpl
 
Account - Class in org.prevayler.demos.memento
The Account class without the notification to listeners and including a memento.
Account.InvalidAmount - Exception in org.prevayler.demos.memento
 
Account.InvalidAmount(String) - Constructor for exception org.prevayler.demos.memento.Account.InvalidAmount
 
Account.InvalidHolder - Exception in org.prevayler.demos.memento
 
Account.InvalidHolder() - Constructor for exception org.prevayler.demos.memento.Account.InvalidHolder
 
AccountCreation - Class in org.prevayler.demos.memento.commands
 
AccountCreation(String) - Constructor for class org.prevayler.demos.memento.commands.AccountCreation
 
AccountDeletion - Class in org.prevayler.demos.memento.commands
 
AccountDeletion(Account) - Constructor for class org.prevayler.demos.memento.commands.AccountDeletion
 
accounts() - Method in class org.prevayler.demos.memento.Bank
 
addMemento(Memento) - Method in interface org.prevayler.util.memento.MementoCollector
Add a memento to the memento collection.
addMemento(Memento) - Method in class org.prevayler.util.memento.MementoManagerCommand
Add a memento to the memento collection.
AddProject - Class in org.prevayler.demos.jxpath.commands
Adds a Project to the system.
AddProject() - Constructor for class org.prevayler.demos.jxpath.commands.AddProject
 
addSubscriber(TransactionSubscriber) - Method in class org.prevayler.implementation.publishing.AbstractPublisher
 
AddTask - Class in org.prevayler.demos.jxpath.commands
 
AddTask() - Constructor for class org.prevayler.demos.jxpath.commands.AddTask
 
AddTask - Class in org.prevayler.tutorial
 
AddTask(String, int) - Constructor for class org.prevayler.tutorial.AddTask
 
addTask(Task) - Method in class org.prevayler.tutorial.TaskList
 
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
 
AppendTransaction - Class in org.prevayler.implementation
 
AppendTransaction(String) - Constructor for class org.prevayler.implementation.AppendTransaction
 
AppendTransactionWithQuery - Class in org.prevayler.implementation
 
AppendTransactionWithQuery(String) - Constructor for class org.prevayler.implementation.AppendTransactionWithQuery
 
armBomb(int) - Static method in class org.prevayler.implementation.NondeterministicErrorTransaction
 

B

BadTransaction - Class in org.prevayler.baptism
Simple transaction that demonstrates how to fall into the baptism problem.
BadTransaction(Calendar, long) - Constructor for class org.prevayler.baptism.BadTransaction
 
balance() - Method in class org.prevayler.demos.memento.Account
 
Bank - Class in org.prevayler.demos.memento
The Bank class without the notification to a listener and including a memento.
Bank() - Constructor for class org.prevayler.demos.memento.Bank
 
bank - Variable in class org.prevayler.demos.memento.commands.AccountCreation
Set by findObjects(...)
bank - Variable in class org.prevayler.demos.memento.commands.AccountDeletion
Set by findObjects(...)
Bank.AccountNotFound - Exception in org.prevayler.demos.memento
 
BaptismProblemTest - Class in org.prevayler.baptism
Shows how the baptism problem works.
BaptismProblemTest() - Constructor for class org.prevayler.baptism.BaptismProblemTest
 
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.
cancelSubscription(TransactionSubscriber) - Method in class org.prevayler.implementation.replication.ClientPublisher
 
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
 
checkPrecondition() - Method in class org.prevayler.demos.memento.commands.AccountCreation
 
checkPrecondition() - Method in class org.prevayler.demos.memento.commands.AccountDeletion
 
checkPrecondition() - Method in class org.prevayler.demos.memento.commands.Deposit
 
checkPrecondition() - Method in class org.prevayler.demos.memento.commands.Transfer
 
checkPrecondition() - Method in class org.prevayler.demos.memento.commands.Withdrawal
 
checkPrecondition() - Method in class org.prevayler.util.memento.MementoTransaction
Check the precondition.
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
 
ClientPublisher - Class in org.prevayler.implementation.replication
Reserved for future implementation.
ClientPublisher(OldNetworkImpl, String, int) - Constructor for class org.prevayler.implementation.replication.ClientPublisher
 
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 class org.prevayler.implementation.replication.ClientPublisher
 
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.foundation.network.ObjectServerSocket
 
close() - Method in class org.prevayler.foundation.network.ObjectServerSocketImpl
 
close() - Method in interface org.prevayler.foundation.network.ObjectSocket
 
close() - Method in class org.prevayler.foundation.network.ObjectSocketImpl
 
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 class org.prevayler.implementation.replication.ClientPublisher
 
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.
configureJournalDiskSync(boolean) - Method in class org.prevayler.PrevaylerFactory
Configures whether the journal will sync writes to disk.
configureJournalFileAgeThreshold(long) - Method in class org.prevayler.PrevaylerFactory
Sets the age (in milliseconds) of the journal file.
configureJournalFileSizeThreshold(long) - Method in class org.prevayler.PrevaylerFactory
Configures the size (in bytes) of the journal file.
configureJournalSerializer(JavaSerializer) - Method in class org.prevayler.PrevaylerFactory
 
configureJournalSerializer(XStreamSerializer) - Method in class org.prevayler.PrevaylerFactory
 
configureJournalSerializer(String, Serializer) - Method in class org.prevayler.PrevaylerFactory
Configures the transaction journal Serializer to be used by the Prevayler created by this factory.
configureMonitor(Monitor) - Method in class org.prevayler.PrevaylerFactory
Assigns a monitor object to receive notifications from Prevayler.
configurePrevalenceDirectory(String) - Method in class org.prevayler.PrevaylerFactory
Configures the directory where the created Prevayler will read and write its .journal and .snapshot files.
configurePrevalentSystem(P) - 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.
configureSnapshotSerializer(JavaSerializer) - Method in class org.prevayler.PrevaylerFactory
 
configureSnapshotSerializer(XStreamSerializer) - Method in class org.prevayler.PrevaylerFactory
 
configureSnapshotSerializer(String, Serializer) - Method in class org.prevayler.PrevaylerFactory
Configure a serialization strategy for snapshots.
configureTransactionDeepCopy(boolean) - Method in class org.prevayler.PrevaylerFactory
Configures whether deep copies of transactions are executed instead of the transactions themselves, upon calling ".execute" on the created Prevayler.
configureTransientMode(boolean) - Method in class org.prevayler.PrevaylerFactory
Determines whether the Prevayler created by this factory should be transient or persistent.
Cool - Class in org.prevayler.foundation
Cool things that are often needed.
Cool() - Constructor for class org.prevayler.foundation.Cool
 
create(Class, Prevayler) - Static method in class org.prevayler.contrib.facade.PrevaylerTransactionsFacade
defaults to using a TransactionHint.NOOP_TRANSACTION_HINT
create(Class, Prevayler, TransactionType.Determiner, TransactionHint) - Static method in class org.prevayler.contrib.facade.PrevaylerTransactionsFacade
 
create() - Method in class org.prevayler.PrevaylerFactory
Returns a Prevayler created according to what was defined by calls to the configuration methods above.
createAccount(String) - Method in class org.prevayler.demos.memento.Bank
 
createCheckpointPrevayler(P, String) - Static method in class org.prevayler.PrevaylerFactory
Creates a Prevayler that will execute Transactions WITHOUT writing them to disk.
createMemento(MementoCollector) - Method in class org.prevayler.demos.memento.Account
Create a memento of the current state.
createMemento(MementoCollector) - Method in class org.prevayler.demos.memento.Bank
Create a memento of the current state.
createMementos(MementoCollector) - Method in class org.prevayler.demos.memento.commands.AccountCreation
 
createMementos(MementoCollector) - Method in class org.prevayler.demos.memento.commands.AccountDeletion
 
createMementos(MementoCollector) - Method in class org.prevayler.demos.memento.commands.Deposit
 
createMementos(MementoCollector) - Method in class org.prevayler.demos.memento.commands.Transfer
 
createMementos(MementoCollector) - Method in class org.prevayler.demos.memento.commands.Withdrawal
 
createMementos(MementoCollector) - Method in class org.prevayler.util.memento.MementoTransaction
Create mementos for all objects which (possibly) get modified.
createPrevayler(P, 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 .journal files, using standard Java serialization.
createPrevayler(P) - 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 .journal files, using standard Java serialization.
createTempFile(String, String) - Method in class org.prevayler.implementation.PrevaylerDirectory
Create a temporary file in the directory.
createTestConnection() - Method in class org.prevayler.demos.scalability.jdbc.JDBCQuerySubject
 
createTestConnection() - Method in class org.prevayler.demos.scalability.jdbc.JDBCTransactionSubject
 
createTestConnection() - Method in class org.prevayler.demos.scalability.prevayler.PrevaylerQuerySubject
 
createTestConnection() - Method in class org.prevayler.demos.scalability.prevayler.PrevaylerTransactionSubject
 
createTestConnection() - Method in interface org.prevayler.demos.scalability.ScalabilityTestSubject
 
createTransientPrevayler(P) - Static method in class org.prevayler.PrevaylerFactory
Creates a Prevayler that will execute Transactions WITHOUT writing them to disk.
createTransientPrevayler(P, String) - Static method in class org.prevayler.PrevaylerFactory
Deprecated. Use createCheckpointPrevayler() instead of this method. Deprecated since Prevayler2.00.001.
createXStream() - Method in class org.prevayler.foundation.serialization.XStreamSerializer
Create a new XStream instance.

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.
DEFAULT_REPLICATION_PORT - Static variable in class org.prevayler.PrevaylerFactory
 
delete(String) - Static method in class org.prevayler.demos.scalability.prevayler.PrevalenceTest
 
delete(String) - Static method in class org.prevayler.foundation.FileIOTest
 
delete(File) - Static method in class org.prevayler.foundation.FileIOTest
 
deleteAccount(long) - Method in class org.prevayler.demos.memento.Bank
 
deleteFromTestDirectory(String) - Method in class org.prevayler.foundation.FileIOTest
 
deposit(long, Date) - Method in class org.prevayler.demos.memento.Account
 
Deposit - Class in org.prevayler.demos.memento.commands
 
Deposit(Account, long) - Constructor for class org.prevayler.demos.memento.commands.Deposit
 
Deposit(long, long) - Constructor for class org.prevayler.demos.memento.commands.Deposit
 
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
 
determineTransactionType(Method) - Method in class org.prevayler.contrib.facade.MethodNameTransactionTypeDeterminer
 
determineTransactionType(Method) - Method in interface org.prevayler.contrib.facade.TransactionType.Determiner
Given a Method, determine the appropriate TransactionType to be used in implemented a Prevayler for that method.
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
 
equals(Object) - Method in class org.prevayler.tutorial.Task
 
equals(Object) - Method in class org.prevayler.util.memento.Memento
Compare this memento with another.
error(Class, String, Exception) - Method in class org.prevayler.foundation.monitor.Log4jMonitor
 
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(Object, Date) - Method in class org.prevayler.contrib.facade.AbstractProxy
 
execute(Prevayler, Method, Object[], TransactionHint) - Method in class org.prevayler.contrib.facade.TransactionType
 
execute(MementoCollector) - Method in class org.prevayler.demos.memento.commands.AccountCreation
 
execute(MementoCollector) - Method in class org.prevayler.demos.memento.commands.AccountDeletion
 
execute(MementoCollector) - Method in class org.prevayler.demos.memento.commands.Deposit
 
execute(MementoCollector) - Method in class org.prevayler.demos.memento.commands.Transfer
 
execute(MementoCollector) - Method in class org.prevayler.demos.memento.commands.Withdrawal
 
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.
execute(MementoCollector, Bank) - Method in class org.prevayler.util.memento.MementoTransaction
Executes this command on the received system.
execute(MementoCollector) - Method in class org.prevayler.util.memento.MementoTransaction
Execute the actual command.
executeAndQuery(Serializable, Date) - Method in class org.prevayler.contrib.facade.ProxyTransactionWithQuery
 
executeAndQuery(StringBuffer, Date) - Method in class org.prevayler.implementation.AppendTransactionWithQuery
 
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.
executeAndQuery(TaskList, Date) - Method in class org.prevayler.tutorial.AddTask
 
executeAndQuery(Bank, Date) - Method in class org.prevayler.util.memento.MementoManagerCommand
Executes this transaction on the received system.
executeOn(MyPrevalentSystem, Date) - Method in class org.prevayler.baptism.BadTransaction
 
executeOn(MyPrevalentSystem, Date) - Method in class org.prevayler.baptism.GoodTransaction
 
executeOn(Serializable, Date) - Method in class org.prevayler.contrib.facade.ProxyTransaction
 
executeOn(ProjectManagementSystem, Date) - Method in class org.prevayler.demos.jxpath.commands.AddProject
 
executeOn(ProjectManagementSystem, Date) - Method in class org.prevayler.demos.jxpath.commands.AddTask
 
executeOn(StringBuffer, Date) - Method in class org.prevayler.implementation.AppendTransaction
 
executeOn(Object, Date, Serializer) - Method in class org.prevayler.implementation.Capsule
Executes a freshly deserialized copy of the transaction by default.
executeOn(AppendingSystem, Date) - Method in class org.prevayler.implementation.NondeterministicErrorTransaction
 
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.
executeOn(TaskList, Date) - Method in class org.prevayler.tutorial.RemoveTask
 
executeOperation(Object, long) - Method in class org.prevayler.demos.scalability.QueryTestRun
 
executeOperation(Object, long) - Method in class org.prevayler.demos.scalability.TransactionTestRun
Deletes records from id zero to id halfTheObjects - 1.
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
 
FileIOTest - Class in org.prevayler.foundation
 
FileIOTest() - Constructor for class org.prevayler.foundation.FileIOTest
 
FileManager - Class in org.prevayler.foundation
 
FileManager() - Constructor for class org.prevayler.foundation.FileManager
 
fileSyncCount() - Method in class org.prevayler.foundation.DurableOutputStream
 
findAccount(long) - Method in class org.prevayler.demos.memento.Bank
 
findInitialJournalFile(long) - Method in class org.prevayler.implementation.PrevaylerDirectory
Find the journal file containing the desired transaction.
findJournal(String) - Method in class org.prevayler.foundation.FileIOTest
 
findObjects(Bank) - Method in class org.prevayler.demos.memento.commands.AccountCreation
 
findObjects(Bank) - Method in class org.prevayler.demos.memento.commands.AccountDeletion
 
findObjects(Bank) - Method in class org.prevayler.demos.memento.commands.Deposit
 
findObjects(Bank) - Method in class org.prevayler.demos.memento.commands.Transfer
 
findObjects(Bank) - Method in class org.prevayler.demos.memento.commands.Withdrawal
 
findObjects(Bank) - Method in class org.prevayler.util.memento.MementoTransaction
Find the objects this command modifies.
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
 
get(Object, String) - Static method in class org.prevayler.implementation.Sneaky
Get a field value using reflection.
getBigDecimal1() - Method in class org.prevayler.demos.scalability.Record
 
getBigDecimal2() - Method in class org.prevayler.demos.scalability.Record
 
getBytes() - Method in class org.prevayler.foundation.Chunk
 
getDate1() - Method in class org.prevayler.demos.scalability.Record
 
getDate2() - Method in class org.prevayler.demos.scalability.Record
 
getDescription() - Method in class org.prevayler.tutorial.Task
 
getEnd() - Method in class org.prevayler.demos.jxpath.model.Task
Returns the end.
getId() - Method in class org.prevayler.demos.jxpath.model.Project
Returns the id.
getId() - Method in class org.prevayler.demos.jxpath.model.Task
Returns the id.
getId() - Method in class org.prevayler.demos.scalability.Record
 
getMethod() - Method in class org.prevayler.contrib.facade.MethodInfo
"Reconstitute" (i.e., lookup reflectively) the Method represented by this object.
getName() - Method in class org.prevayler.demos.jxpath.model.Project
Returns the name.
getName() - Method in class org.prevayler.demos.jxpath.model.Task
Returns the name.
getName() - Method in class org.prevayler.demos.scalability.Record
 
getOwner() - Method in class org.prevayler.util.memento.Memento
Get the object to which this memento belongs.
getParameter(String) - Method in class org.prevayler.foundation.Chunk
 
getParameters() - Method in class org.prevayler.foundation.Chunk
 
getPriority() - Method in class org.prevayler.tutorial.Task
 
getProject() - Method in class org.prevayler.demos.jxpath.commands.AddProject
Returns the project.
getProjectId() - Method in class org.prevayler.demos.jxpath.commands.AddTask
Returns the projectId.
getProjects() - Method in class org.prevayler.demos.jxpath.ProjectManagementSystem
 
getStart() - Method in class org.prevayler.demos.jxpath.model.Task
Returns the start.
getString1() - Method in class org.prevayler.demos.scalability.Record
 
getTask() - Method in class org.prevayler.demos.jxpath.commands.AddTask
Returns the task.
getTasks() - Method in class org.prevayler.demos.jxpath.model.Project
Returns the tasks.
getTasks() - Method in class org.prevayler.tutorial.TaskList
 
GoodTransaction - Class in org.prevayler.baptism
Simple transaction that demonstrates how to avoid the baptism problem.
GoodTransaction(String, long) - Constructor for class org.prevayler.baptism.GoodTransaction
 
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
 

H

hashCode() - Method in class org.prevayler.demos.scalability.Record
 
hashCode() - Method in class org.prevayler.util.memento.Memento
The hash code of this object.
hasNext() - Method in class org.prevayler.demos.scalability.RecordIterator
 
holder() - Method in class org.prevayler.demos.memento.Account
 
holder(String) - Method in class org.prevayler.demos.memento.Account
 

I

info(Class, String) - Method in class org.prevayler.foundation.monitor.Log4jMonitor
 
info(Class, String) - Method in class org.prevayler.foundation.monitor.LoggingMonitor
 
info(Class, String) - Method in class org.prevayler.foundation.monitor.SimpleMonitor
 
isConsistent() - Method in class org.prevayler.demos.scalability.prevayler.PrevaylerTransactionSubject
 
isInfoEnabled(Class) - Method in class org.prevayler.foundation.monitor.Log4jMonitor
 
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
 
JDBCQuerySubject - Class in org.prevayler.demos.scalability.jdbc
 
JDBCQuerySubject(String, String, String, String) - Constructor for class org.prevayler.demos.scalability.jdbc.JDBCQuerySubject
 
JDBCTransactionSubject - Class in org.prevayler.demos.scalability.jdbc
 
JDBCTransactionSubject(String, String, String, String) - Constructor for class org.prevayler.demos.scalability.jdbc.JDBCTransactionSubject
 
Journal - Interface in org.prevayler.implementation.journal
 
journalContents(String) - Method in class org.prevayler.foundation.FileIOTest
 
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.
Log4jMonitor - Class in org.prevayler.foundation.monitor
A Monitor that logs output using Log4j.
Log4jMonitor() - Constructor for class org.prevayler.foundation.monitor.Log4jMonitor
 
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
 
Main - Class in org.prevayler.demos.demo1
 
Main() - Constructor for class org.prevayler.demos.demo1.Main
 
main(String[]) - Static method in class org.prevayler.demos.demo1.Main
 
Main - Class in org.prevayler.demos.jxpath
Main class for the JXPath+Prevayler demo.
Main() - Constructor for class org.prevayler.demos.jxpath.Main
 
main(String[]) - Static method in class org.prevayler.demos.jxpath.Main
Main method -- please call me :)
main(String[]) - Static method in class org.prevayler.demos.memento.TestErrorRecoveryWithMementos
 
Main - Class in org.prevayler.demos.scalability
 
Main() - Constructor for class org.prevayler.demos.scalability.Main
 
main(String[]) - Static method in class org.prevayler.demos.scalability.Main
 
Main - Class in org.prevayler.tutorial
2-Minute Tutorial Main-Class.
Main() - Constructor for class org.prevayler.tutorial.Main
 
main(String[]) - Static method in class org.prevayler.tutorial.Main
 
MAX_PRIORITY - Static variable in class org.prevayler.tutorial.Task
 
MED_PRIORITY - Static variable in class org.prevayler.tutorial.Task
 
Memento - Class in org.prevayler.util.memento
A memento is a snapshot of an object before it gets changed.
Memento() - Constructor for class org.prevayler.util.memento.Memento
 
MementoCollector - Interface in org.prevayler.util.memento
The memento collector collects the mementos created before the command gets actually executed.
MementoManagerCommand - Class in org.prevayler.util.memento
This transaction manages the mementos and restores them in case of a failure.
MementoManagerCommand(MementoTransaction) - Constructor for class org.prevayler.util.memento.MementoManagerCommand
Create a memento manager transaction.
MementoTransaction - Class in org.prevayler.util.memento
An atomic transaction to be executed on a PrevalentSystem.
MementoTransaction() - Constructor for class org.prevayler.util.memento.MementoTransaction
 
MethodInfo - Class in org.prevayler.contrib.facade
A Serializable representation of a Method.
MethodInfo(Method) - Constructor for class org.prevayler.contrib.facade.MethodInfo
Construct a MethodInfo from the specified Method.
MethodNameTransactionTypeDeterminer - Class in org.prevayler.contrib.facade
This transaction type determiner uses a combination of heuristics to determine the proper transaction type (in the exact order given below): Methods returning void will be of type TransactionType.TRANSACTION unless the method name contains the word "[t|T]ransient", in which case it will be of type TransactionType.NOOP (see #3 for description) Methods starting with (or matching) the prefixes "fetch", "find", "get", and "retrieve" will be of type TransactionType.QUERY Methods that fall through check #2, and are all-lowercase, will be of type TransactionType.NOOP.
MethodNameTransactionTypeDeterminer() - Constructor for class org.prevayler.contrib.facade.MethodNameTransactionTypeDeterminer
 
millisEllapsed() - Method in class org.prevayler.foundation.StopWatch
 
MIN_PRIORITY - Static variable in class org.prevayler.tutorial.Task
 
Monitor - Interface in org.prevayler.foundation.monitor
A Monitor for interesting events in the system.

N

name() - Method in class org.prevayler.demos.scalability.QueryTestRun
 
name() - Method in interface org.prevayler.demos.scalability.ScalabilityTestSubject
 
name() - Method in class org.prevayler.demos.scalability.TransactionTestRun
 
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.demos.scalability.RecordIterator
 
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
 
NondeterministicErrorTransaction - Class in org.prevayler.implementation
 
NondeterministicErrorTransaction(String) - Constructor for class org.prevayler.implementation.NondeterministicErrorTransaction
 
NOOP - Static variable in class org.prevayler.contrib.facade.TransactionType
 
NOOP_TRANSACTION_HINT - Static variable in interface org.prevayler.contrib.facade.TransactionHint
A default empty transaction hint which should be used if no other transaction hint is specified
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
 
NullQuery - Class in org.prevayler.implementation
 
NullQuery() - Constructor for class org.prevayler.implementation.NullQuery
 
NullSnapshotManager<P> - Class in org.prevayler.implementation.snapshot
 
NullSnapshotManager(P, String) - Constructor for class org.prevayler.implementation.snapshot.NullSnapshotManager
 
number() - Method in class org.prevayler.demos.memento.Account
 
numberString() - Method in class org.prevayler.demos.memento.Account
 

O

ObjectInputStreamWithClassLoader - Class in org.prevayler.foundation
 
ObjectInputStreamWithClassLoader(InputStream, ClassLoader) - Constructor for class org.prevayler.foundation.ObjectInputStreamWithClassLoader
 
ObjectServerSocket - Interface in org.prevayler.foundation.network
 
ObjectServerSocketImpl - Class in org.prevayler.foundation.network
 
ObjectServerSocketImpl(int) - Constructor for class org.prevayler.foundation.network.ObjectServerSocketImpl
 
ObjectSocket - Interface in org.prevayler.foundation.network
 
ObjectSocketImpl - Class in org.prevayler.foundation.network
 
ObjectSocketImpl(String, int) - Constructor for class org.prevayler.foundation.network.ObjectSocketImpl
 
ObjectSocketImpl(Socket) - Constructor for class org.prevayler.foundation.network.ObjectSocketImpl
 
OldNetworkImpl - Class in org.prevayler.foundation.network
 
OldNetworkImpl() - Constructor for class org.prevayler.foundation.network.OldNetworkImpl
 
openObjectServerSocket(int) - Method in class org.prevayler.foundation.network.OldNetworkImpl
 
openSocket(String, int) - Method in class org.prevayler.foundation.network.OldNetworkImpl
 
org.prevayler - package org.prevayler
 
org.prevayler.baptism - package org.prevayler.baptism
 
org.prevayler.contrib.facade - package org.prevayler.contrib.facade
 
org.prevayler.demos.demo1 - package org.prevayler.demos.demo1
 
org.prevayler.demos.jxpath - package org.prevayler.demos.jxpath
 
org.prevayler.demos.jxpath.commands - package org.prevayler.demos.jxpath.commands
 
org.prevayler.demos.jxpath.model - package org.prevayler.demos.jxpath.model
 
org.prevayler.demos.memento - package org.prevayler.demos.memento
 
org.prevayler.demos.memento.commands - package org.prevayler.demos.memento.commands
 
org.prevayler.demos.scalability - package org.prevayler.demos.scalability
 
org.prevayler.demos.scalability.jdbc - package org.prevayler.demos.scalability.jdbc
 
org.prevayler.demos.scalability.prevayler - package org.prevayler.demos.scalability.prevayler
 
org.prevayler.foundation - package org.prevayler.foundation
 
org.prevayler.foundation.monitor - package org.prevayler.foundation.monitor
 
org.prevayler.foundation.network - package org.prevayler.foundation.network
 
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.replication - package org.prevayler.implementation.replication
 
org.prevayler.implementation.snapshot - package org.prevayler.implementation.snapshot
 
org.prevayler.tutorial - package org.prevayler.tutorial
 
org.prevayler.util.memento - package org.prevayler.util.memento
 

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
 
performTransaction(Record, Record, long) - Method in interface org.prevayler.demos.scalability.TransactionConnection
 
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
 
preExecute(Object, Method, Object[], Date) - Method in interface org.prevayler.contrib.facade.TransactionHint
This method executes just before the transactional method is invoked, so it is a good place to put any generic code that needs to be executed before any transaction
prepare() - Method in class org.prevayler.demos.scalability.TransactionTestRun
 
PrevalenceTest - Class in org.prevayler.demos.scalability.prevayler
 
PrevalenceTest() - Constructor for class org.prevayler.demos.scalability.prevayler.PrevalenceTest
 
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
 
PrevaylerFactory<P> - Class in org.prevayler
Provides easy access to all Prevayler configurations and implementations available in this distribution.
PrevaylerFactory() - Constructor for class org.prevayler.PrevaylerFactory
Example:

PrevaylerFactory<MyObjectToPersist> f = new PrevaylerFactory<MyObjectToPersist>();

Use if you want access to any configuration options not available via the static method short-cuts.
PrevaylerImpl<P> - Class in org.prevayler.implementation
 
PrevaylerImpl(GenericSnapshotManager<P>, TransactionPublisher, Serializer, boolean) - Constructor for class org.prevayler.implementation.PrevaylerImpl
Creates a new Prevayler
PrevaylerQuerySubject - Class in org.prevayler.demos.scalability.prevayler
 
PrevaylerQuerySubject() - Constructor for class org.prevayler.demos.scalability.prevayler.PrevaylerQuerySubject
 
PrevaylerTransactionsFacade - Class in org.prevayler.contrib.facade
The main class to create transaction facades.
PrevaylerTransactionsFacade() - Constructor for class org.prevayler.contrib.facade.PrevaylerTransactionsFacade
 
PrevaylerTransactionSubject - Class in org.prevayler.demos.scalability.prevayler
 
PrevaylerTransactionSubject(String, String) - Constructor for class org.prevayler.demos.scalability.prevayler.PrevaylerTransactionSubject
 
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.
Project - Class in org.prevayler.demos.jxpath.model
Represents a simple software project.
Project() - Constructor for class org.prevayler.demos.jxpath.model.Project
Creates a new Project object.
ProjectManagementSystem - Class in org.prevayler.demos.jxpath
 
ProjectManagementSystem() - Constructor for class org.prevayler.demos.jxpath.ProjectManagementSystem
 
ProxyQuery - Class in org.prevayler.contrib.facade
Proxy representation of a Prevayler Query
ProxyQuery(Method, Object[], TransactionHint) - Constructor for class org.prevayler.contrib.facade.ProxyQuery
 
ProxyTransaction - Class in org.prevayler.contrib.facade
Proxy representation of a Prevayler Transaction
ProxyTransaction(Method, Object[], TransactionHint) - Constructor for class org.prevayler.contrib.facade.ProxyTransaction
 
ProxyTransactionWithQuery - Class in org.prevayler.contrib.facade
Proxy representation of a Prevayler TransactionWithQuery
ProxyTransactionWithQuery(Method, Object[], TransactionHint) - Constructor for class org.prevayler.contrib.facade.ProxyTransactionWithQuery
 
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.
publish(Capsule) - Method in class org.prevayler.implementation.replication.ClientPublisher
 

Q

query(Serializable, Date) - Method in class org.prevayler.contrib.facade.ProxyQuery
 
QUERY - Static variable in class org.prevayler.contrib.facade.TransactionType
 
query(Object, Date) - Method in class org.prevayler.implementation.NullQuery
 
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
 
queryByName(String) - Method in interface org.prevayler.demos.scalability.QueryConnection
Returns the List of all Record with the given name.
QueryConnection - Interface in org.prevayler.demos.scalability
 
QueryTestRun - Class in org.prevayler.demos.scalability
 
QueryTestRun(ScalabilityTestSubject, int, int, int) - Constructor for class org.prevayler.demos.scalability.QueryTestRun
 

R

readChunk(InputStream) - Static method in class org.prevayler.foundation.Chunking
 
readChunk() - Method in class org.prevayler.foundation.DurableInputStream
 
readObject() - Method in interface org.prevayler.foundation.network.ObjectSocket
 
readObject() - Method in class org.prevayler.foundation.network.ObjectSocketImpl
 
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.
readObject(InputStream) - Method in class org.prevayler.foundation.serialization.XStreamSerializer
 
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
 
Record - Class in org.prevayler.demos.scalability
 
Record(long) - Constructor for class org.prevayler.demos.scalability.Record
 
Record(long, Random) - Constructor for class org.prevayler.demos.scalability.Record
 
Record(long, String, String, BigDecimal, BigDecimal, Date, Date) - Constructor for class org.prevayler.demos.scalability.Record
 
RecordIterator - Class in org.prevayler.demos.scalability
Generates Record objects with ids from 0 to numberOfRecords - 1.
RecordIterator(int) - Constructor for class org.prevayler.demos.scalability.RecordIterator
 
recoveredPrevalentSystem() - Method in class org.prevayler.implementation.snapshot.GenericSnapshotManager
 
RemoveTask - Class in org.prevayler.tutorial
 
RemoveTask(Task) - Constructor for class org.prevayler.tutorial.RemoveTask
 
removeTask(Task) - Method in class org.prevayler.tutorial.TaskList
 
renameUnusedFile(File) - Static method in class org.prevayler.implementation.PrevaylerDirectory
Rename a journal file to indicate it was found empty and is being ignored.
replaceAllRecords(int) - Method in interface org.prevayler.demos.scalability.ScalabilityTestSubject
 
reportResourcesUsed(PrintStream) - Method in class org.prevayler.demos.scalability.prevayler.PrevaylerQuerySubject
 
reportResourcesUsed(PrintStream) - Method in class org.prevayler.demos.scalability.prevayler.PrevaylerTransactionSubject
 
reportResourcesUsed(PrintStream) - Method in interface org.prevayler.demos.scalability.ScalabilityTestSubject
 
resolveClass(ObjectStreamClass) - Method in class org.prevayler.foundation.ObjectInputStreamWithClassLoader
 
restore() - Method in class org.prevayler.util.memento.Memento
Restore the values of the object to the values in this memento.
resume() - Method in class org.prevayler.implementation.clock.PausableClock
 
RETURN_TYPE_DETERMINER - Static variable in class org.prevayler.contrib.facade.TransactionType
A basic transaction type determiner which bases the transaction type on the return type of methods: TransactionType.TRANSACTION for void methods and TransactionType.QUERY otherwise.
run() - Static method in class org.prevayler.demos.memento.TestErrorRecoveryWithMementos
 
run() - Method in class org.prevayler.implementation.publishing.POBox
 
run() - Method in class org.prevayler.implementation.replication.ServerListener
 

S

ScalabilityTestSubject - Interface in org.prevayler.demos.scalability
 
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.
ServerListener - Class in org.prevayler.implementation.replication
Reserved for future implementation.
ServerListener(TransactionPublisher, OldNetworkImpl, int) - Constructor for class org.prevayler.implementation.replication.ServerListener
 
setDescription(String) - Method in class org.prevayler.tutorial.Task
 
setEnd(Date) - Method in class org.prevayler.demos.jxpath.model.Task
Sets the end.
setId(int) - Method in class org.prevayler.demos.jxpath.model.Project
Sets the id.
setId(int) - Method in class org.prevayler.demos.jxpath.model.Task
Sets the id.
setName(String) - Method in class org.prevayler.demos.jxpath.model.Project
Sets the name.
setName(String) - Method in class org.prevayler.demos.jxpath.model.Task
Sets the name.
setParameter(String, String) - Method in class org.prevayler.foundation.Chunk
 
setPriority(int) - Method in class org.prevayler.tutorial.Task
 
setProject(Project) - Method in class org.prevayler.demos.jxpath.commands.AddProject
Sets the project.
setProjectId(int) - Method in class org.prevayler.demos.jxpath.commands.AddTask
Sets the projectId.
setStart(Date) - Method in class org.prevayler.demos.jxpath.model.Task
Sets the start.
setTask(Task) - Method in class org.prevayler.demos.jxpath.commands.AddTask
Sets the task.
setTasks(List) - Method in class org.prevayler.demos.jxpath.model.Project
Sets the tasks.
setUp() - Method in class org.prevayler.foundation.FileIOTest
 
SIMPLE_DETERMINER - Static variable in class org.prevayler.contrib.facade.TransactionType
A minimal transaction type determiner which uses no heuristics.
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.
Sneaky - Class in org.prevayler.implementation
Things that normal code shouldn't do, and maybe tests shouldn't either, but that can be useful for some exceptional testing situations.
Sneaky() - Constructor for class org.prevayler.implementation.Sneaky
 
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.
subscribe(TransactionSubscriber, long) - Method in class org.prevayler.implementation.replication.ClientPublisher
 
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.
Task - Class in org.prevayler.demos.jxpath.model
Represents a project's task to be completed
Task() - Constructor for class org.prevayler.demos.jxpath.model.Task
 
Task - Class in org.prevayler.tutorial
 
Task() - Constructor for class org.prevayler.tutorial.Task
 
Task(String, int) - Constructor for class org.prevayler.tutorial.Task
 
TaskList - Class in org.prevayler.tutorial
 
TaskList() - Constructor for class org.prevayler.tutorial.TaskList
 
tearDown() - Method in class org.prevayler.foundation.FileIOTest
 
TestErrorRecoveryWithMementos - Class in org.prevayler.demos.memento
A simple test of the error recovery using mementos.
TestErrorRecoveryWithMementos() - Constructor for class org.prevayler.demos.memento.TestErrorRecoveryWithMementos
 
testThatSerializationNeverSerializesTheSameObjectAgain() - Method in class org.prevayler.baptism.BaptismProblemTest
 
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
 
toAdd - Variable in class org.prevayler.implementation.AppendTransaction
 
toAdd - Variable in class org.prevayler.implementation.AppendTransactionWithQuery
 
toChunk() - Method in class org.prevayler.implementation.TransactionTimestamp
 
toString() - Method in class org.prevayler.contrib.facade.TransactionType
 
toString() - Method in class org.prevayler.demos.jxpath.model.Project
 
toString() - Method in class org.prevayler.demos.jxpath.model.Task
 
toString() - Method in class org.prevayler.demos.memento.Account
 
toString() - Method in class org.prevayler.demos.memento.Bank
 
TRANSACTION - Static variable in class org.prevayler.contrib.facade.TransactionType
 
Transaction<P> - Interface in org.prevayler
An atomic transaction to be executed on a Prevalent System.
TRANSACTION_WITH_QUERY - Static variable in class org.prevayler.contrib.facade.TransactionType
 
TransactionConnection - Interface in org.prevayler.demos.scalability
 
TransactionGuide - Class in org.prevayler.implementation
 
TransactionGuide(TransactionTimestamp, Turn) - Constructor for class org.prevayler.implementation.TransactionGuide
 
TransactionHint - Interface in org.prevayler.contrib.facade
A TransactionHint contains hints of other things to do inside the transaction.
transactionHistory() - Method in class org.prevayler.demos.memento.Account
 
TransactionPublisher - Interface in org.prevayler.implementation.publishing
 
TransactionSubscriber - Interface in org.prevayler.implementation.publishing
 
TransactionTestRun - Class in org.prevayler.demos.scalability
Tests insert, update and delete scalability.
TransactionTestRun(ScalabilityTestSubject, int, int, int) - Constructor for class org.prevayler.demos.scalability.TransactionTestRun
 
TransactionTimestamp - Class in org.prevayler.implementation
 
TransactionTimestamp(Capsule, long, Date) - Constructor for class org.prevayler.implementation.TransactionTimestamp
 
TransactionType - Class in org.prevayler.contrib.facade
A "smart" enumerated type enumerating the three kinds of transactions that Prevayler supports plus one that is, effectively, "no transaction".
TransactionType.Determiner - Interface in org.prevayler.contrib.facade
An interface describing a strategy for choosing a TransactionType for a given method.
TransactionWithQuery<P,R> - Interface in org.prevayler
A Transaction that also returns a result or throws an Exception after executing.
transfer(long, long, long, Date) - Method in class org.prevayler.demos.memento.Bank
 
Transfer - Class in org.prevayler.demos.memento.commands
 
Transfer(long, long, long) - Constructor for class org.prevayler.demos.memento.commands.Transfer
 
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
 
usage() - Static method in class org.prevayler.demos.jxpath.Main
Shows usage information.

W

wait(Object) - Static method in class org.prevayler.foundation.Cool
 
waitToEmpty() - Method in class org.prevayler.implementation.publishing.POBox
 
withdraw(long, Date) - Method in class org.prevayler.demos.memento.Account
 
Withdrawal - Class in org.prevayler.demos.memento.commands
 
Withdrawal(long, long) - Constructor for class org.prevayler.demos.memento.commands.Withdrawal
 
writeChunk(OutputStream, Chunk) - Static method in class org.prevayler.foundation.Chunking
 
writeObject(Object) - Method in interface org.prevayler.foundation.network.ObjectSocket
 
writeObject(Object) - Method in class org.prevayler.foundation.network.ObjectSocketImpl
 
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.
writeObject(OutputStream, Object) - Method in class org.prevayler.foundation.serialization.XStreamSerializer
 
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
 

X

XStreamSerializer - Class in org.prevayler.foundation.serialization
Writes and reads objects using XML.
XStreamSerializer() - Constructor for class org.prevayler.foundation.serialization.XStreamSerializer
Use the default character encoding for XML serialization.
XStreamSerializer(String) - Constructor for class org.prevayler.foundation.serialization.XStreamSerializer
Use the specified character encoding for XML serialization.

_

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

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

Copyright © 2001-2013. All Rights Reserved.