public void afterUpdate(EntryEvent event) { logCall("afterUpdate", event); if (EventPRObserver.recoveryInProgress) { if (event.isOriginRemote()) { afterUpdateCount_isRemote++; } else { afterUpdateCount_isNotRemote++; } } }
public void afterCreate(EntryEvent event) { logCall("afterCreate", event); if (EventPRObserver.recoveryInProgress) { Operation op = event.getOperation(); if (event.isOriginRemote()) { if (op.isPutAll()) { afterCreatePutAllCount_isRemote++; } else { afterCreateCount_isRemote++; } } else { if (op.isPutAll()) { afterCreatePutAllCount_isNotRemote++; } else { afterCreateCount_isNotRemote++; } } } }