public class CheckedConstraintsLog extends Object
| Constructor and Description | 
|---|
| CheckedConstraintsLog() | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | addCheckedConstraints(Map<PrivacyConstraint.PrivacyLevel,LongAdder> checkedConstraints)Adds checkedConstraints to the checked constraints total. | 
| static void | addLoadedConstraint(PrivacyConstraint.PrivacyLevel level)Add an occurence of the given privacy level to the loaded constraints log total. | 
| static String | display()Get string representing all contents of the checked constraints log. | 
| static Map<PrivacyConstraint.PrivacyLevel,LongAdder> | getCheckedConstraints() | 
| static Map<PrivacyConstraint.PrivacyLevel,LongAdder> | getLoadedConstraints() | 
| static void | reset()Remove all elements from checked constraints log and loaded constraints log. | 
public static void addCheckedConstraints(Map<PrivacyConstraint.PrivacyLevel,LongAdder> checkedConstraints)
checkedConstraints - constraints checked by federated workerpublic static void addLoadedConstraint(PrivacyConstraint.PrivacyLevel level)
level - privacy level from loaded privacy constraintpublic static void reset()
public static Map<PrivacyConstraint.PrivacyLevel,LongAdder> getCheckedConstraints()
public static Map<PrivacyConstraint.PrivacyLevel,LongAdder> getLoadedConstraints()
public static String display()
Copyright © 2020 The Apache Software Foundation. All rights reserved.