|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.s4.core.App
org.apache.s4.core.adapter.AdapterApp
public abstract class AdapterApp
Base class for adapters. For now, it provides facilities for automatically creating an output stream.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.s4.core.App |
---|
App.ClockType |
Field Summary | |
---|---|
protected KeyFinder<Event> |
remoteStreamKeyFinder
|
Constructor Summary | |
---|---|
AdapterApp()
|
Method Summary | |
---|---|
RemoteStream |
getRemoteStream()
|
protected void |
onClose()
This method is called by the container before unloading the application. |
protected void |
onInit()
This method is called by the container to initialize applications. |
protected void |
onStart()
|
protected void |
setKeyFinder(KeyFinder<Event> keyFinder)
This method allows to specify a keyfinder in order to partition the output stream |
Methods inherited from class org.apache.s4.core.App |
---|
addStream, close, createInputStream, createInputStream, createOutputStream, createOutputStream, createPE, createPE, createSlidingWindowPE, createStream, createStream, createStream, createStream, getCheckpointingFramework, getClockType, getId, getPE, getReceiver, getSender, getSerDeser, getStreams, getTime, getTime, init, setClockType, setId, start |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected KeyFinder<Event> remoteStreamKeyFinder
Constructor Detail |
---|
public AdapterApp()
Method Detail |
---|
public RemoteStream getRemoteStream()
protected void onStart()
onStart
in class App
protected void onInit()
App
onInit
in class App
protected void setKeyFinder(KeyFinder<Event> keyFinder)
keyFinder
- used for identifying keys from the eventsprotected void onClose()
App
onClose
in class App
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |