public class

GroupCommit

extends Object
java.lang.Object
   ↳ org.apache.helix.GroupCommit

Class Overview

Support committing updates to data such that they are ordered for each key

Summary

Public Constructors
GroupCommit()
Set up a group committer and its associated queues
Public Methods
boolean commit(BaseDataAccessor<ZNRecord> accessor, int options, String key, ZNRecord record)
Do a group update for data associated with a given key
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public GroupCommit ()

Set up a group committer and its associated queues

Public Methods

public boolean commit (BaseDataAccessor<ZNRecord> accessor, int options, String key, ZNRecord record)

Do a group update for data associated with a given key

Parameters
accessor accessor with the ability to pull from the current data
options see AccessOption
key the data identifier
record the data to be merged in
Returns
  • true if successful, false otherwise