@ProviderType
public interface WireRecordStore
WireRecord
s.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 tableKuraStoreException
int getSize() throws KuraStoreException
KuraStoreException
void insertRecords(java.util.List<WireRecord> records) throws KuraStoreException
WireRecord
instances in the store.records
- the list of records to be insertedKuraStoreException
void close()