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

Quick Search    Search Deep

scalability.opp
Class QuerySystem  view QuerySystem download QuerySystem.java

java.lang.Object
  extended byscalability.opp.QuerySystem
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 QuerySystem
extends java.lang.Object
implements ScalabilitySystem, com.ghettojedi.opp.aspect.entity.Entity


Field Summary
private  java.util.Map recordsByName
           
 
Constructor Summary
QuerySystem()
           
 
Method Summary
private  void makeReadOnly()
          This is necessary so that the clients cannot alter the Lists they receive as query results.
private  void put(Record newRecord)
           
 java.util.List queryByName(java.lang.String name)
           
 void replaceAllRecords(RecordIterator newRecords)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

recordsByName

private java.util.Map recordsByName
Constructor Detail

QuerySystem

public QuerySystem()
Method Detail

queryByName

public java.util.List queryByName(java.lang.String name)

replaceAllRecords

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

put

private void put(Record newRecord)

makeReadOnly

private void makeReadOnly()
This is necessary so that the clients cannot alter the Lists they receive as query results.