getPrefetchSize() public méthode

Get the window size to prefetch from the broker.
public getPrefetchSize ( ) : integer
Résultat integer
 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;
 }
Exemple #2
0
 /**
  * @inheritdoc
  */
 public function getPrefetchSize() : int
 {
     return $this->channel->getPrefetchSize();
 }
Exemple #3
0
 /**
  * @return int
  */
 public function getPrefetchSize()
 {
     return $this->rawChannel->getPrefetchSize();
 }