Interface InternalQueryService
- All Superinterfaces:
QueryService
public interface InternalQueryService extends QueryService
Declares query-related methods not accessible to remote peers.
-
Method Summary
Modifier and Type Method Description void
registerResponder(java.lang.Class<? extends Query<?>> clazz, QueryResponder responder)
Registers the given responder for handling queries of the given type.void
unregisterResponder(java.lang.Class<? extends Query<?>> clazz)
Unregisters the responder for the given type.
-
Method Details
-
registerResponder
void registerResponder(@Nonnull java.lang.Class<? extends Query<?>> clazz, @Nonnull QueryResponder responder)Registers the given responder for handling queries of the given type.- Parameters:
clazz
- The query type.responder
- The responder to handle the queries.
-
unregisterResponder
Unregisters the responder for the given type.- Parameters:
clazz
- The query type.
-