AMQPChannel::getPrefetchSize PHP Method

getPrefetchSize() public method

Get the window size to prefetch from the broker.
public getPrefetchSize ( ) : integer
return integer
    public function getPrefetchSize()
    {
    }

Usage Example

示例#1
0
 public static function castChannel(\AMQPChannel $c, array $a, Stub $stub, $isNested)
 {
     $prefix = Caster::PREFIX_VIRTUAL;
     $a += array($prefix . 'isConnected' => $c->isConnected(), $prefix . 'channelId' => $c->getChannelId(), $prefix . 'prefetchSize' => $c->getPrefetchSize(), $prefix . 'prefetchCount' => $c->getPrefetchCount(), $prefix . 'connection' => $c->getConnection());
     return $a;
 }
All Usage Examples Of AMQPChannel::getPrefetchSize