Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

scalability.opp
Class TransactionSystem  view TransactionSystem download TransactionSystem.java

java.lang.Object
  extended byscalability.opp.TransactionSystem
All Implemented Interfaces:
com.ghettojedi.opp.aspect.concurrent.Concurrent, com.ghettojedi.opp.aspect.entity.Entity, ScalabilitySystem, java.io.Serializable, com.ghettojedi.opp.aspect.transaction.TransactionAware

public class TransactionSystem
extends java.lang.Object
implements ScalabilitySystem, com.ghettojedi.opp.aspect.entity.Entity


Field Summary
private  java.util.Map recordsById
           
 
Constructor Summary
TransactionSystem()
           
 
Method Summary
private  java.lang.Object getKey(Record newRecord)
           
 void performTransaction(Record recordToInsert, Record recordToUpdate, long idToDelete)
           
private  java.lang.Object put(Record newRecord)
           
 void replaceAllRecords(RecordIterator newRecords)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

recordsById

private java.util.Map recordsById
Constructor Detail

TransactionSystem

public TransactionSystem()
Method Detail

performTransaction

public void performTransaction(Record recordToInsert,
                               Record recordToUpdate,
                               long idToDelete)

put

private java.lang.Object put(Record newRecord)

getKey

private java.lang.Object getKey(Record newRecord)

replaceAllRecords

public void replaceAllRecords(RecordIterator newRecords)
Specified by:
replaceAllRecords in interface ScalabilitySystem