public abstract class AbstractStream extends Object implements Stream
put(ContentEvent)
.Constructor and Description |
---|
AbstractStream() |
AbstractStream(IProcessingItem sourcePi) |
Modifier and Type | Method and Description |
---|---|
int |
getBatchSize()
Get suggested batch size
|
IProcessingItem |
getSourceProcessingItem()
Get source processing item of this stream
|
String |
getStreamId()
Get name (ID) of this stream
|
abstract void |
put(ContentEvent event)
Puts events into a platform specific data stream.
|
void |
setBatchSize(int batchSize)
Set suggested batch size
|
void |
setStreamId(String streamID)
Set the name (ID) of this stream
|
public AbstractStream()
public AbstractStream(IProcessingItem sourcePi)
public IProcessingItem getSourceProcessingItem()
public abstract void put(ContentEvent event)
Stream
public String getStreamId()
getStreamId
in interface Stream
public void setStreamId(String streamID)
streamID
- the name (ID)public void setBatchSize(int batchSize)
setBatchSize
in interface Stream
batchSize
- the suggested batch sizepublic int getBatchSize()
Copyright © 2013–2015 The Apache Software Foundation. All rights reserved.