Class AbstractResultSet<T>
java.lang.Object
tools.refinery.store.query.resultset.AbstractResultSet<T>
- All Implemented Interfaces:
AnyResultSet,ResultSet<T>
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractResultSet(ModelQueryAdapter adapter, Query<T> query) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddListener(ResultSetListener<T> listener) protected voidnotifyChange(Tuple key, T oldValue, T newValue) voidremoveListener(ResultSetListener<T> listener) protected abstract voidprotected abstract voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface tools.refinery.store.query.resultset.AnyResultSet
size
-
Constructor Details
-
AbstractResultSet
-
-
Method Details
-
getAdapter
- Specified by:
getAdapterin interfaceAnyResultSet
-
getCanonicalQuery
- Specified by:
getCanonicalQueryin interfaceAnyResultSet- Specified by:
getCanonicalQueryin interfaceResultSet<T>
-
addListener
- Specified by:
addListenerin interfaceResultSet<T>
-
removeListener
- Specified by:
removeListenerin interfaceResultSet<T>
-
startListeningForChanges
protected abstract void startListeningForChanges() -
stopListeningForChanges
protected abstract void stopListeningForChanges() -
notifyChange
-