public class BackupFailoverOperationIDFilter extends Object implements IDuplicateOperationFilter
Constructor and Description |
---|
BackupFailoverOperationIDFilter(IAddOnlySet<OperationID> duplicateFilter,
long duplicateProtectionTimeInterval) |
Modifier and Type | Method and Description |
---|---|
void |
add(OperationID operationID) |
void |
clear() |
boolean |
contains(OperationID operationID) |
void |
onBecomeBackup() |
void |
onBecomePrimary() |
public BackupFailoverOperationIDFilter(IAddOnlySet<OperationID> duplicateFilter, long duplicateProtectionTimeInterval)
public boolean contains(OperationID operationID)
contains
in interface IAddOnlySet<OperationID>
public void add(OperationID operationID)
add
in interface IAddOnlySet<OperationID>
public void onBecomeBackup()
onBecomeBackup
in interface IDuplicateOperationFilter
public void onBecomePrimary()
onBecomePrimary
in interface IDuplicateOperationFilter
public void clear()
clear
in interface IAddOnlySet<OperationID>
Copyright © GigaSpaces.