com.neeve.ods
Interface IStoreCheckpointingController


public interface IStoreCheckpointingController

Represents an ODS store checkpointing controller. Controls checkpointing boundaries based on threshold and other parameters

Threading:
A store checkpointing controller is not safe for concurrent access by multiple threads.

Nested Class Summary
static class IStoreCheckpointingController.Type
          Enumerates the types of checkpointing controllers.
 
Method Summary
 boolean onCommit()
          Should be invoked on committing a transaction.
 boolean onPut()
          Should be invoked on processing a Put entry.
 boolean onRemove()
          Should be invoked on processing a Remove entry.
 boolean onSend()
          Should be invoked on processing a Send entry.
 boolean onUpdate()
          Should be invoked on processing an Update entry.
 void onVersionChange()
          Should be invoked when the version is changed.
 

Method Detail

onPut

boolean onPut()
Should be invoked on processing a Put entry.

Returns:
Returns true to indicate that the countdown was changed.

onRemove

boolean onRemove()
Should be invoked on processing a Remove entry.

Returns:
Returns true to indicate that the countdown was changed.

onUpdate

boolean onUpdate()
Should be invoked on processing an Update entry.

Returns:
Returns true to indicate that the countdown was changed.

onSend

boolean onSend()
Should be invoked on processing a Send entry.

Returns:
Returns true to indicate that the countdown was changed.

onCommit

boolean onCommit()
Should be invoked on committing a transaction.

Returns:
Returns true to indicate that the countdown threshold is reached and version should be incremented

onVersionChange

void onVersionChange()
Should be invoked when the version is changed.



Copyright © 2016 Neeve Research, LLC. All Rights Reserved.