edu.internet2.middleware.grouper.client
Class GroupSyncConsumer

java.lang.Object
  extended by edu.internet2.middleware.grouper.changeLog.ChangeLogConsumerBase
      extended by edu.internet2.middleware.grouper.client.GroupSyncConsumer

public class GroupSyncConsumer
extends ChangeLogConsumerBase

Change log consumer to sync groups to other grouper incrementally

Author:
mchyzer

Constructor Summary
GroupSyncConsumer()
           
 
Method Summary
 long processChangeLogEntries(List<ChangeLogEntry> changeLogEntryList, ChangeLogProcessorMetadata changeLogProcessorMetadata)
          This is going to do best efforts, but if it cant get through, then log and continue...
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupSyncConsumer

public GroupSyncConsumer()
Method Detail

processChangeLogEntries

public long processChangeLogEntries(List<ChangeLogEntry> changeLogEntryList,
                                    ChangeLogProcessorMetadata changeLogProcessorMetadata)
This is going to do best efforts, but if it cant get through, then log and continue...

Specified by:
processChangeLogEntries in class ChangeLogConsumerBase
Parameters:
changeLogEntryList - NOTE, DO NOT CHANGE OR EDIT THE OBJECTS IN THIS LIST, THEY MIGHT BE SHARED!
Returns:
which sequence number it got up to (which sequence number was the last one processed). or -1 if none processed
See Also:
ChangeLogConsumerBase.processChangeLogEntries(java.util.List, edu.internet2.middleware.grouper.changeLog.ChangeLogProcessorMetadata)