PHP 클래스 Kafka\Protocol\Fetch\MessageSet

저자: $_SWANBR_AUTHOR_$ +------------------------------------------------------------------------------
상속: implements Iterator
파일 보기 프로젝트 열기: nmred/kafka-php

공개 메소드들

메소드 설명
__construct ( Partition $partition, array $context = [] ) __construct
current ( ) : Kafka\Protocol\Fetch\Message current
key ( ) : float key
loadNextMessage ( ) : boolean load next message
messageOffset ( ) : float current message offset in producer
next ( ) : void implements Iterator function
rewind ( ) : integer implements Iterator function
valid ( ) : integer implements Iterator function

보호된 메소드들

메소드 설명
getMessageSetSize ( ) : integer get message set size

메소드 상세

__construct() 공개 메소드

__construct
public __construct ( Partition $partition, array $context = [] )
$partition Partition
$context array

current() 공개 메소드

current
public current ( ) : Kafka\Protocol\Fetch\Message
리턴 Kafka\Protocol\Fetch\Message

getMessageSetSize() 보호된 메소드

get message set size
protected getMessageSetSize ( ) : integer
리턴 integer

key() 공개 메소드

key
public key ( ) : float
리턴 float

loadNextMessage() 공개 메소드

load next message
public loadNextMessage ( ) : boolean
리턴 boolean

messageOffset() 공개 메소드

current message offset in producer
public messageOffset ( ) : float
리턴 float

next() 공개 메소드

implements Iterator function
public next ( ) : void
리턴 void

rewind() 공개 메소드

implements Iterator function
public rewind ( ) : integer
리턴 integer

valid() 공개 메소드

implements Iterator function
public valid ( ) : integer
리턴 integer