use of com.google.appengine.api.taskqueue.TaskQueuePb.TaskQueuePurgeQueueResponse in project appengine-java-standard by GoogleCloudPlatform.
the class LocalTaskQueue method purgeQueue.
/**
* PurgeQueue RPC implementation.
*/
@LatencyPercentiles(latency50th = 3)
public TaskQueuePurgeQueueResponse purgeQueue(Status status, TaskQueuePurgeQueueRequest purgeQueueRequest) {
TaskQueuePurgeQueueResponse purgeQueueResponse = TaskQueuePurgeQueueResponse.getDefaultInstance();
flushQueue(purgeQueueRequest.getQueueName().toStringUtf8());
return purgeQueueResponse;
}
Aggregations