public interface SubscriptionCallback
| Modifier and Type | Method and Description |
|---|---|
void |
processAbort(VLSN vlsn,
long txnId)
Process an abort entry from stream
|
void |
processCommit(VLSN vlsn,
long txnId)
Process a commit entry from stream
|
void |
processDel(VLSN vlsn,
byte[] key,
long txnId,
DatabaseId dbid)
Process a delete entry from stream
|
void |
processException(Exception exp)
Process the exception from stream.
|
void |
processPut(VLSN vlsn,
byte[] key,
byte[] value,
long txnId,
DatabaseId dbid)
Process a put (insert or update) entry from stream
|
void processPut(VLSN vlsn, byte[] key, byte[] value, long txnId, DatabaseId dbid)
vlsn - VLSN of the insert entrykey - key of the insert entryvalue - value of the insert entrytxnId - id of txn the entry belongs todbid - id of database the entry belongs tovoid processDel(VLSN vlsn, byte[] key, long txnId, DatabaseId dbid)
vlsn - VLSN of the delete entrykey - key of the delete entrytxnId - id of txn the entry belongs todbid - id of database the entry belongs tovoid processCommit(VLSN vlsn, long txnId)
vlsn - VLSN of commit entrytxnId - id of txn to commitvoid processAbort(VLSN vlsn, long txnId)
vlsn - VLSN of abort entrytxnId - id of txn to abortvoid processException(Exception exp)
exp - exception raised in service and to be processed by
clientCopyright © 2024. All rights reserved.