public interface ActorHelper extends Logging
Find more details at: http://spark.apache.org/docs/latest/streaming-custom-receivers.html
Modifier and Type | Method and Description |
---|---|
void |
store(java.nio.ByteBuffer bytes)
Store the bytes of received data as a data block into Spark's memory.
|
<T> void |
store(scala.collection.Iterator<T> iter)
Store an iterator of received data as a data block into Spark's memory.
|
<T> void |
store(T item)
Store a single item of received data to Spark's memory.
|
initializeIfNecessary, initializeLogging, isTraceEnabled, log_, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarning
<T> void store(scala.collection.Iterator<T> iter)
void store(java.nio.ByteBuffer bytes)
bytes
- (undocumented)<T> void store(T item)
item
- (undocumented)