public class SSEQueryHandler extends QueryHandler
complete
Constructor and Description |
---|
SSEQueryHandler() |
Modifier and Type | Method and Description |
---|---|
void |
complete()
Completes the query and sets the complete flag.
|
void |
fail(QueryError cause)
Fail the query.
|
void |
send(com.yahoo.bullet.pubsub.PubSubMessage response)
Send a
PubSubMessage to the query handler. |
acknowledge, fail
public void complete()
QueryHandler
complete
in class QueryHandler
public void send(com.yahoo.bullet.pubsub.PubSubMessage response)
QueryHandler
PubSubMessage
to the query handler.send
in class QueryHandler
response
- The PubSubMessage containing a response.public void fail(QueryError cause)
QueryHandler
fail
in class QueryHandler
cause
- is the QueryError
that caused the fail to be invoked.Copyright © 2021 Pivotal Software, Inc.. All rights reserved.