|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.flume.channel.jdbc.impl.JdbcChannelProviderImpl
public class JdbcChannelProviderImpl
Constructor Summary | |
---|---|
JdbcChannelProviderImpl()
|
Method Summary | |
---|---|
void |
close()
Deinitializes the channel provider. |
JdbcTransactionImpl |
getTransaction()
|
void |
initialize(Context context)
Initializes the channel provider. |
void |
persistEvent(String channel,
Event event)
Writes the event to the persistent store. |
Event |
removeEvent(String channelName)
Removes the next event for the named channel from the underlying persistent store. |
protected void |
updateCurrentChannelSize(long delta)
A callback method invoked from individual transaction instances after a successful commit. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JdbcChannelProviderImpl()
Method Detail |
---|
public void initialize(Context context)
JdbcChannelProvider
initialize
in interface JdbcChannelProvider
public void close()
JdbcChannelProvider
close
in interface JdbcChannelProvider
public void persistEvent(String channel, Event event)
JdbcChannelProvider
persistEvent
in interface JdbcChannelProvider
public Event removeEvent(String channelName)
JdbcChannelProvider
removeEvent
in interface JdbcChannelProvider
public JdbcTransactionImpl getTransaction()
getTransaction
in interface JdbcChannelProvider
protected void updateCurrentChannelSize(long delta)
delta
- the net number of events to be added to reflect the current
size of the channel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |