org.prevayler.implementation
Class NondeterministicErrorTransaction

java.lang.Object
  extended by org.prevayler.implementation.NondeterministicErrorTransaction
All Implemented Interfaces:
Serializable, Transaction<org.prevayler.implementation.AppendingSystem>

public class NondeterministicErrorTransaction
extends Object

See Also:
Serialized Form

Constructor Summary
NondeterministicErrorTransaction(String toAdd)
           
 
Method Summary
static void armBomb(int timeToDetonation)
           
 void executeOn(org.prevayler.implementation.AppendingSystem prevalentSystem, Date executionTime)
          This method is called by Prevayler.execute(Transaction) to execute this Transaction on the given Prevalent System.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NondeterministicErrorTransaction

public NondeterministicErrorTransaction(String toAdd)
Method Detail

armBomb

public static void armBomb(int timeToDetonation)

executeOn

public void executeOn(org.prevayler.implementation.AppendingSystem prevalentSystem,
                      Date executionTime)
Description copied from interface: Transaction
This method is called by Prevayler.execute(Transaction) to execute this Transaction on the given Prevalent System. See org.prevayler.demos for usage examples.

Specified by:
executeOn in interface Transaction<org.prevayler.implementation.AppendingSystem>
Parameters:
prevalentSystem - The system on which this Transaction will execute.
executionTime - The time at which this Transaction is being executed. Every Transaction executes completely within a single moment in time. Logically, a Prevalent System's time does not pass during the execution of a Transaction.


Copyright © 2001-2013. All Rights Reserved.