@Service public class RESTPubSubService extends Object
Constructor and Description |
---|
RESTPubSubService() |
Modifier and Type | Method and Description |
---|---|
String |
getQuery()
Get the next query from the query queue.
|
String |
getResult()
Get the next result from the result queue.
|
void |
postQuery(String query)
Add a query to the query queue.
|
void |
postResult(String result)
Add a result to the result queue.
|
public String getQuery()
public String getResult()
public void postResult(String result)
result
- The result to add to the result queue.public void postQuery(String query)
query
- The query to add to the queue.Copyright © 2021 Pivotal Software, Inc.. All rights reserved.