public class JournalFileTableProxy extends TableProxy implements JournalFileTable
Title: Dataspace Framework
Description: Journal file table proxy.
Copyright: Copyright (c) 2016
Company: StreamScape Technologies
Constructor and Description |
---|
JournalFileTableProxy() |
Modifier and Type | Method and Description |
---|---|
long |
getCheckInterval() |
java.lang.String |
getDataSource() |
JournalFileTableCollection.ProcessingStrategy |
getProcessingStrategy() |
AppendableFileTableReader.Statistics |
getStatistics() |
boolean |
isStarted()
Checks whether the source file monitor started or not.
|
boolean |
isSuspendOnFail() |
void |
setCheckInterval(long checkInterval) |
void |
setDataSource(java.lang.String source)
Sets file table source CSV file and links to this source file.
|
void |
setProcessingStrategy(JournalFileTableCollection.ProcessingStrategy processingStrategy) |
void |
setProcessingStrategy(JournalFileTableCollection.ProcessingStrategy processingStrategy,
long seqId,
long timestamp) |
void |
setSuspendOnFail(boolean suspendOnFail) |
void |
start()
Starts source file monitor.
|
void |
stop()
Stops source file monitor.
|
void |
truncate() |
clear, clear, containsPrimarykey, delete, delete, deleteAll, drainFromQueue, fromMap, fromQueue, fromRowSet, getRow, hasForeignKey, hasPrimaryKey, insert, insert, insert, insert, insertAll, insertAll, isEmpty, primaryKeySet, rowSet, select, size, toMap, toMapCollection, toQueue, toQueueCollection, toRowSet, toTableCollection, update, update, update, upsert, upsert
getCollectionName, getCollectionType, getMemoryModel, listTriggers
getId, setAccessor, setId
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clear, clear, containsPrimarykey, delete, delete, deleteAll, drainFromQueue, fromMap, fromQueue, fromRowSet, getRow, hasForeignKey, hasPrimaryKey, insert, insert, insert, insert, insertAll, insertAll, isEmpty, primaryKeySet, rowSet, select, size, toMap, toMapCollection, toQueue, toQueueCollection, toRowSet, toTableCollection, update, update, update, upsert, upsert
getCollectionName, getCollectionType, getMemoryModel, listTriggers
public void setDataSource(java.lang.String source)
JournalFileTable
setDataSource
in interface JournalFileTable
source
- source filepublic java.lang.String getDataSource()
getDataSource
in interface JournalFileTable
public long getCheckInterval()
getCheckInterval
in interface JournalFileTable
public void setCheckInterval(long checkInterval)
setCheckInterval
in interface JournalFileTable
public void start()
JournalFileTable
start
in interface JournalFileTable
public void stop()
JournalFileTable
stop
in interface JournalFileTable
public boolean isStarted()
JournalFileTable
isStarted
in interface JournalFileTable
public void truncate()
truncate
in interface JournalFileTable
public AppendableFileTableReader.Statistics getStatistics()
getStatistics
in interface JournalFileTable
public void setProcessingStrategy(JournalFileTableCollection.ProcessingStrategy processingStrategy)
setProcessingStrategy
in interface JournalFileTable
public void setProcessingStrategy(JournalFileTableCollection.ProcessingStrategy processingStrategy, long seqId, long timestamp)
setProcessingStrategy
in interface JournalFileTable
public JournalFileTableCollection.ProcessingStrategy getProcessingStrategy()
getProcessingStrategy
in interface JournalFileTable
public void setSuspendOnFail(boolean suspendOnFail)
setSuspendOnFail
in interface JournalFileTable
public boolean isSuspendOnFail()
isSuspendOnFail
in interface JournalFileTable
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.