java.lang.Object
scalability.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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
recordsByName
private java.util.Map recordsByName
QuerySystem
public QuerySystem()
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.