@ProviderType
public interface WireRecordStore
WireRecords.| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the store, releasing any runtime resource allocated for it.
|
int |
getSize()
Returns the number of records currently in the store.
|
void |
insertRecords(java.util.List<WireRecord> records)
Insert the provided list of
WireRecord instances in the store. |
void |
truncate(int noOfRecordsToKeep)
Removes all records in the store except the most recent
noOfRecordsToKeep. |
void truncate(int noOfRecordsToKeep)
throws KuraStoreException
noOfRecordsToKeep.noOfRecordsToKeep - the no of records to keep in the tableKuraStoreExceptionint getSize()
throws KuraStoreException
KuraStoreExceptionvoid insertRecords(java.util.List<WireRecord> records) throws KuraStoreException
WireRecord instances in the store.records - the list of records to be insertedKuraStoreExceptionvoid close()