public abstract class StreamBaseClient.TupleBuffer extends Object
| Modifier and Type | Method and Description | 
|---|---|
protected abstract void | 
addToBuffer(Tuple tuple,
           int id)
Add to buffer 
 | 
boolean | 
canDequeue(StreamProperties props)
Can dequeue? 
 | 
boolean | 
canEnqueue(StreamProperties props)
Can enqueue? 
 | 
protected void | 
checkTuple(Tuple tuple)
Check tuple to make sure it is up to snuff 
 | 
boolean | 
equals(Object obj)  | 
int | 
hashCode()  | 
StreamProperties | 
props()
get stream properties for this Buffer 
 | 
int | 
tupleCount()
Get tuple count 
 | 
protected abstract void addToBuffer(Tuple tuple, int id) throws TupleException
tuple - Tuple to addid - IdentifierTupleException - Error adding to bufferpublic StreamProperties props()
protected void checkTuple(Tuple tuple)
tuple - public int tupleCount()
public boolean canEnqueue(StreamProperties props)
props - Propertiespublic boolean canDequeue(StreamProperties props)
props - PropertiesCopyright © 2015–2019 Cloud Software Group, Inc.. All rights reserved.