From bb577d2a9bd1971b65f739194f5c15315306cc39 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 14 May 2015 18:43:16 +0200 Subject: php-pecl-rdkafka: 0.0.2 (alpha) - new package --- REFLECTION | 799 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 799 insertions(+) create mode 100644 REFLECTION (limited to 'REFLECTION') diff --git a/REFLECTION b/REFLECTION new file mode 100644 index 0000000..9a0a17f --- /dev/null +++ b/REFLECTION @@ -0,0 +1,799 @@ +Extension [ extension #138 rdkafka version 0.0.2 ] { + + - Constants [43] { + Constant [ integer RD_KAFKA_CONSUMER ] { 1 } + Constant [ integer RD_KAFKA_OFFSET_BEGINNING ] { -2 } + Constant [ integer RD_KAFKA_OFFSET_END ] { -1 } + Constant [ integer RD_KAFKA_OFFSET_STORED ] { -1000 } + Constant [ integer RD_KAFKA_PARTITION_UA ] { -1 } + Constant [ integer RD_KAFKA_PRODUCER ] { 0 } + Constant [ integer RD_KAFKA_VERSION ] { 525824 } + Constant [ integer RD_KAFKA_RESP_ERR__BEGIN ] { -200 } + Constant [ integer RD_KAFKA_RESP_ERR__BAD_MSG ] { -199 } + Constant [ integer RD_KAFKA_RESP_ERR__BAD_COMPRESSION ] { -198 } + Constant [ integer RD_KAFKA_RESP_ERR__DESTROY ] { -197 } + Constant [ integer RD_KAFKA_RESP_ERR__FAIL ] { -196 } + Constant [ integer RD_KAFKA_RESP_ERR__TRANSPORT ] { -195 } + Constant [ integer RD_KAFKA_RESP_ERR__CRIT_SYS_RESOURCE ] { -194 } + Constant [ integer RD_KAFKA_RESP_ERR__RESOLVE ] { -193 } + Constant [ integer RD_KAFKA_RESP_ERR__MSG_TIMED_OUT ] { -192 } + Constant [ integer RD_KAFKA_RESP_ERR__PARTITION_EOF ] { -191 } + Constant [ integer RD_KAFKA_RESP_ERR__UNKNOWN_PARTITION ] { -190 } + Constant [ integer RD_KAFKA_RESP_ERR__FS ] { -189 } + Constant [ integer RD_KAFKA_RESP_ERR__UNKNOWN_TOPIC ] { -188 } + Constant [ integer RD_KAFKA_RESP_ERR__ALL_BROKERS_DOWN ] { -187 } + Constant [ integer RD_KAFKA_RESP_ERR__INVALID_ARG ] { -186 } + Constant [ integer RD_KAFKA_RESP_ERR__TIMED_OUT ] { -185 } + Constant [ integer RD_KAFKA_RESP_ERR__QUEUE_FULL ] { -184 } + Constant [ integer RD_KAFKA_RESP_ERR__ISR_INSUFF ] { -183 } + Constant [ integer RD_KAFKA_RESP_ERR__END ] { -100 } + Constant [ integer RD_KAFKA_RESP_ERR_UNKNOWN ] { -1 } + Constant [ integer RD_KAFKA_RESP_ERR_NO_ERROR ] { 0 } + Constant [ integer RD_KAFKA_RESP_ERR_OFFSET_OUT_OF_RANGE ] { 1 } + Constant [ integer RD_KAFKA_RESP_ERR_INVALID_MSG ] { 2 } + Constant [ integer RD_KAFKA_RESP_ERR_UNKNOWN_TOPIC_OR_PART ] { 3 } + Constant [ integer RD_KAFKA_RESP_ERR_INVALID_MSG_SIZE ] { 4 } + Constant [ integer RD_KAFKA_RESP_ERR_LEADER_NOT_AVAILABLE ] { 5 } + Constant [ integer RD_KAFKA_RESP_ERR_NOT_LEADER_FOR_PARTITION ] { 6 } + Constant [ integer RD_KAFKA_RESP_ERR_REQUEST_TIMED_OUT ] { 7 } + Constant [ integer RD_KAFKA_RESP_ERR_BROKER_NOT_AVAILABLE ] { 8 } + Constant [ integer RD_KAFKA_RESP_ERR_REPLICA_NOT_AVAILABLE ] { 9 } + Constant [ integer RD_KAFKA_RESP_ERR_MSG_SIZE_TOO_LARGE ] { 10 } + Constant [ integer RD_KAFKA_RESP_ERR_STALE_CTRL_EPOCH ] { 11 } + Constant [ integer RD_KAFKA_RESP_ERR_OFFSET_METADATA_TOO_LARGE ] { 12 } + Constant [ integer RD_KAFKA_CONF_UNKNOWN ] { -2 } + Constant [ integer RD_KAFKA_CONF_INVALID ] { -1 } + Constant [ integer RD_KAFKA_CONF_OK ] { 0 } + } + + - Functions { + Function [ function rd_kafka_err2str ] { + + - Parameters [1] { + Parameter #0 [ $err ] + } + } + Function [ function rd_kafka_errno2err ] { + + - Parameters [1] { + Parameter #0 [ $errnox ] + } + } + Function [ function rd_kafka_errno ] { + + - Parameters [1] { + Parameter #0 [ $errnox ] + } + } + Function [ function rd_kafka_offset_tail ] { + + - Parameters [0] { + } + } + Function [ function rd_kafka_thread_cnt ] { + + - Parameters [0] { + } + } + } + + - Classes [16] { + Class [ abstract class RdKafka ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [7] { + Method [ public method addBrokers ] { + + - Parameters [1] { + Parameter #0 [ $broker_list ] + } + } + + Method [ public method metadata ] { + + - Parameters [3] { + Parameter #0 [ $all_topics ] + Parameter #1 [ $only_topic ] + Parameter #2 [ $timeout_ms ] + } + } + + Method [ public method setLogLevel ] { + + - Parameters [1] { + Parameter #0 [ $level ] + } + } + + Method [ public method newQueue ] { + + - Parameters [0] { + } + } + + Method [ public method newTopic ] { + + - Parameters [2] { + Parameter #0 [ $topic_name ] + Parameter #1 [ $topic_conf ] + } + } + + Method [ public method outqLen ] { + + - Parameters [0] { + } + } + + Method [ public method poll ] { + + - Parameters [1] { + Parameter #0 [ $timeout_ms ] + } + } + } + } + + Class [ class RdKafka\Consumer extends RdKafka ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [8] { + Method [ public method __construct ] { + + - Parameters [2] { + Parameter #0 [ $conf ] + Parameter #1 [ &$errstr ] + } + } + + Method [ public method addBrokers ] { + + - Parameters [1] { + Parameter #0 [ $broker_list ] + } + } + + Method [ public method metadata ] { + + - Parameters [3] { + Parameter #0 [ $all_topics ] + Parameter #1 [ $only_topic ] + Parameter #2 [ $timeout_ms ] + } + } + + Method [ public method setLogLevel ] { + + - Parameters [1] { + Parameter #0 [ $level ] + } + } + + Method [ public method newQueue ] { + + - Parameters [0] { + } + } + + Method [ public method newTopic ] { + + - Parameters [2] { + Parameter #0 [ $topic_name ] + Parameter #1 [ $topic_conf ] + } + } + + Method [ public method outqLen ] { + + - Parameters [0] { + } + } + + Method [ public method poll ] { + + - Parameters [1] { + Parameter #0 [ $timeout_ms ] + } + } + } + } + + Class [ class RdKafka\Producer extends RdKafka ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [8] { + Method [ public method __construct ] { + + - Parameters [2] { + Parameter #0 [ $conf ] + Parameter #1 [ &$errstr ] + } + } + + Method [ public method addBrokers ] { + + - Parameters [1] { + Parameter #0 [ $broker_list ] + } + } + + Method [ public method metadata ] { + + - Parameters [3] { + Parameter #0 [ $all_topics ] + Parameter #1 [ $only_topic ] + Parameter #2 [ $timeout_ms ] + } + } + + Method [ public method setLogLevel ] { + + - Parameters [1] { + Parameter #0 [ $level ] + } + } + + Method [ public method newQueue ] { + + - Parameters [0] { + } + } + + Method [ public method newTopic ] { + + - Parameters [2] { + Parameter #0 [ $topic_name ] + Parameter #1 [ $topic_conf ] + } + } + + Method [ public method outqLen ] { + + - Parameters [0] { + } + } + + Method [ public method poll ] { + + - Parameters [1] { + Parameter #0 [ $timeout_ms ] + } + } + } + } + + Class [ class RdKafka\Conf ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [3] { + Method [ public method __construct ] { + + - Parameters [0] { + } + } + + Method [ public method dump ] { + + - Parameters [0] { + } + } + + Method [ public method set ] { + + - Parameters [0] { + } + } + } + } + + Class [ class RdKafka\TopicConf ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [3] { + Method [ public method __construct ] { + + - Parameters [0] { + } + } + + Method [ public method dump ] { + + - Parameters [0] { + } + } + + Method [ public method set ] { + + - Parameters [0] { + } + } + } + } + + Class [ abstract class RdKafka\Topic ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ class RdKafka\ConsumerTopic extends RdKafka\Topic ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [5] { + Method [ private method __construct ] { + + - Parameters [0] { + } + } + + Method [ public method consumeQueueStart ] { + + - Parameters [3] { + Parameter #0 [ $partition ] + Parameter #1 [ $offset ] + Parameter #2 [ $queue ] + } + } + + Method [ public method consumeStart ] { + + - Parameters [2] { + Parameter #0 [ $partition ] + Parameter #1 [ $offset ] + } + } + + Method [ public method consumeStop ] { + + - Parameters [1] { + Parameter #0 [ $partition ] + } + } + + Method [ public method consume ] { + + - Parameters [2] { + Parameter #0 [ $partition ] + Parameter #1 [ $timeout_ms ] + } + } + } + } + + Class [ class RdKafka\ProducerTopic extends RdKafka\Topic ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [2] { + Method [ private method __construct ] { + + - Parameters [0] { + } + } + + Method [ public method produce ] { + + - Parameters [4] { + Parameter #0 [ $partition ] + Parameter #1 [ $msgflags ] + Parameter #2 [ $payload ] + Parameter #3 [ $key ] + } + } + } + } + + Class [ class RdKafka\Message ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [6] { + Property [ public $err ] + Property [ public $topic_name ] + Property [ public $partition ] + Property [ public $payload ] + Property [ public $key ] + Property [ public $offset ] + } + + - Methods [1] { + Method [ public method errstr ] { + + - Parameters [0] { + } + } + } + } + + Class [ class RdKafka\Queue ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [2] { + Method [ private method __construct ] { + + - Parameters [0] { + } + } + + Method [ public method consume ] { + + - Parameters [1] { + Parameter #0 [ $timeout_ms ] + } + } + } + } + + Class [ class RdKafka\Exception extends Exception ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + } + + - Methods [9] { + Method [ method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ final public method getMessage ] { + } + + Method [ final public method getCode ] { + } + + Method [ final public method getFile ] { + } + + Method [ final public method getLine ] { + } + + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { + } + } + } + + Class [ class RdKafka\Metadata ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [4] { + Method [ public method getOrigBrokerId ] { + + - Parameters [0] { + } + } + + Method [ public method getOrigBrokerName ] { + + - Parameters [0] { + } + } + + Method [ public method getBrokers ] { + + - Parameters [0] { + } + } + + Method [ public method getTopics ] { + + - Parameters [0] { + } + } + } + } + + Class [ class RdKafka\Metadata\Topic ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [3] { + Method [ public method getTopic ] { + + - Parameters [0] { + } + } + + Method [ public method getPartitions ] { + + - Parameters [0] { + } + } + + Method [ public method getErr ] { + + - Parameters [0] { + } + } + } + } + + Class [ class RdKafka\Metadata\Broker ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [3] { + Method [ public method getId ] { + + - Parameters [0] { + } + } + + Method [ public method getHost ] { + + - Parameters [0] { + } + } + + Method [ public method getPort ] { + + - Parameters [0] { + } + } + } + } + + Class [ class RdKafka\Metadata\Partition ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [5] { + Method [ public method getId ] { + + - Parameters [0] { + } + } + + Method [ public method getErr ] { + + - Parameters [0] { + } + } + + Method [ public method getLeader ] { + + - Parameters [0] { + } + } + + Method [ public method getReplicas ] { + + - Parameters [0] { + } + } + + Method [ public method getIsrs ] { + + - Parameters [0] { + } + } + } + } + + Class [ class RdKafka\Metadata\Collection implements Countable, Iterator, Traversable ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [6] { + Method [ public method count ] { + + - Parameters [0] { + } + } + + Method [ public method current ] { + + - Parameters [0] { + } + } + + Method [ public method key ] { + + - Parameters [0] { + } + } + + Method [ public method next ] { + + - Parameters [0] { + } + } + + Method [ public method rewind ] { + + - Parameters [0] { + } + } + + Method [ public method valid ] { + + - Parameters [0] { + } + } + } + } + } +} + -- cgit