public class CommandResultHolder extends Object
Holds the command to be next run in the browser
Modifier and Type | Field and Description |
---|---|
protected static String |
CMD_NULL_RESULT_MSG |
protected static String |
CMD_TIMED_OUT_MSG |
Constructor and Description |
---|
CommandResultHolder(String queueId,
long timeoutInSeconds) |
protected static final String CMD_TIMED_OUT_MSG
protected static final String CMD_NULL_RESULT_MSG
public CommandResultHolder(String queueId, long timeoutInSeconds)
public String getResult()
public boolean putResult(String res)
public boolean isEmpty()
public String peek()
public void poisonPollers()
Copyright © 2014. All rights reserved.