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