public function __get($name)Inherited
$name |
wild |
public function __set($name, $value)Inherited
$name | ||
$value |
wild |
public function current()Inherited
wild |
public function key()Inherited
wild |
public function next()Inherited
wild |
public function rewind()Inherited
wild |
public function valid()Inherited
wild |
private function throwOnAttemptedIteration()Inherited
wild |
public function getPhobjectClassConstant($key, $byte_limit)Inherited
Read the value of a class constant.
This is the same as just typing self::CONSTANTNAME, but throws a more useful message if the constant is not defined and allows the constant to be limited to a maximum length.
string | $key | Name of the constant. |
int|null | $byte_limit | Maximum number of bytes permitted in the value. |
string | Value of the constant. |
public function isReady()Inherited
Is this future's process complete? Specifically, can this future be resolved without blocking?
bool | If true, the external process is complete and resolving this future will not block. |
public function resolve()Inherited
Resolve a future and return its result, blocking until the result is ready if necessary.
wild | Future result. |
final public function updateFuture()Inherited
wild |
private function startServiceProfiler()Inherited
wild |
private function endServiceProfiler()Inherited
wild |
protected function getServiceProfilerStartParameters()Inherited
wild |
protected function getServiceProfilerResultParameters()Inherited
wild |
public function getReadSockets()Inherited
Retrieve a list of sockets which we can wait to become readable while a future is resolving. If your future has sockets which can be select()ed, return them here (or in getWriteSockets()) to make the resolve loop do a select(). If you do not return sockets in either case, you'll get a busy wait.
list | A list of sockets which we expect to become readable. |
public function getWriteSockets()Inherited
Retrieve a list of sockets which we can wait to become writable while a future is resolving. See getReadSockets().
list | A list of sockets which we expect to become writable. |
public function getDefaultWait()Inherited
Default amount of time to wait on stream select for this future. Normally 1 second is fine, but if the future has a timeout sooner than that it should return the amount of time left before the timeout.
wild |
public function start()Inherited
wild |
final protected function getResult()Inherited
Retrieve the final result of the future.
wild | Final resolution of this future. |
final protected function setResult($result)Inherited
$result |
wild |
final public function hasResult()Inherited
wild |
private function setException($exception)Inherited
$exception |
wild |
private function getException()Inherited
wild |
final public function hasException()Inherited
wild |
final public function setFutureKey($key)Inherited
$key |
wild |
final public function getFutureKey()Inherited
wild |
final public function setRaiseExceptionOnStart($raise)Inherited
$raise |
wild |
final public function getHasFutureStarted()Inherited
wild |
final public function canResolve()Inherited
wild |
private function endFuture()Inherited
wild |
public function __construct()
Future | $proxied |
this | //Implicit.// |
public function setProxiedFuture($proxied)Inherited
Future | $proxied |
wild |
protected function getProxiedFuture()
wild |
protected function didReceiveResult($result)
$result |
wild |
protected function didReceiveException($exception)Inherited
$exception |
wild |
abstract public function getServiceName()
wild |
public function setAccessKey($access_key)
$access_key |
wild |
public function getAccessKey()
wild |
public function setSecretKey($secret_key)
PhutilOpaqueEnvelope | $secret_key |
wild |
public function getSecretKey()
wild |
public function getRegion()
wild |
public function setRegion($region)
$region |
wild |
public function setEndpoint($endpoint)
$endpoint |
wild |
public function getEndpoint()
wild |
public function setHTTPMethod($method)
$method |
wild |
public function getHTTPMethod()
wild |
public function setPath($path)
$path |
wild |
public function getPath()
wild |
public function setData($data)
$data |
wild |
public function getData()
wild |
protected function getParameters()
wild |
public function addHeader($key, $value)
$key | ||
$value |
wild |
protected function signRequest($future)
HTTPSFuture | $future |
wild |
protected function shouldSignContent()
wild |