|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.continuent.tungsten.replicator.thl.THLStoreExtractor
public class THLStoreExtractor
Implements Extractor interface for a transaction history log (THL).
| Constructor Summary | |
|---|---|
THLStoreExtractor()
Instantiate the adapter. |
|
| Method Summary | |
|---|---|
void |
configure(PluginContext context)
Complete plug-in configuration. |
ReplEvent |
extract()
Extract the next available event from the log. |
java.lang.String |
getCurrentResourceEventId()
Return the event ID for a flush; does not make sense for a store. |
java.lang.String |
getStoreName()
|
boolean |
hasMoreEvents()
Returns true if the queue has more events. |
void |
prepare(PluginContext context)
Connect to store. |
void |
release(PluginContext context)
Release all resources used by plug-in. |
void |
setLastEvent(ReplDBMSHeader event)
Stores the last event we have processed. |
void |
setLastEventId(java.lang.String eventId)
Ignored for now as stores do not extract. |
void |
setStoreName(java.lang.String storeName)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public THLStoreExtractor()
| Method Detail |
|---|
public java.lang.String getStoreName()
public void setStoreName(java.lang.String storeName)
public void configure(PluginContext context)
throws ReplicatorException
configure in interface ReplicatorPluginReplicatorException - Thrown if configuration is incomplete or
failsReplicatorPlugin.configure(com.continuent.tungsten.replicator.plugin.PluginContext)
public void prepare(PluginContext context)
throws ReplicatorException
prepare in interface ReplicatorPluginReplicatorException - Thrown if resource allocation failsReplicatorPlugin.prepare(com.continuent.tungsten.replicator.plugin.PluginContext)
public void release(PluginContext context)
throws ReplicatorException
release in interface ReplicatorPluginReplicatorException - Thrown if resource deallocation failsReplicatorPlugin.release(com.continuent.tungsten.replicator.plugin.PluginContext)
public ReplEvent extract()
throws ReplicatorException,
java.lang.InterruptedException
extract in interface ExtractorReplicatorException
java.lang.InterruptedExceptionExtractor.extract()
public java.lang.String getCurrentResourceEventId()
throws ReplicatorException,
java.lang.InterruptedException
getCurrentResourceEventId in interface ExtractorReplicatorException
java.lang.InterruptedExceptionExtractor.getCurrentResourceEventId()public boolean hasMoreEvents()
hasMoreEvents in interface ExtractorExtractor.hasMoreEvents()
public void setLastEvent(ReplDBMSHeader event)
throws ReplicatorException
setLastEvent in interface Extractorevent - Last event we extracted
ReplicatorExceptionExtractor.setLastEvent(com.continuent.tungsten.replicator.event.ReplDBMSHeader)
public void setLastEventId(java.lang.String eventId)
throws ReplicatorException
setLastEventId in interface ExtractoreventId - Event ID at which to begin extracting
ReplicatorExceptionExtractor.setLastEventId(java.lang.String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||