public abstract class AbstractOriginRetentionPolicy extends java.lang.Object implements IOriginRetentionPolicy
Modifier | Constructor and Description |
---|---|
protected |
AbstractOriginRetentionPolicy(OriginRetentionPolicyKind kind)
This constructor uses the given parameter to initialize the class.
|
Modifier and Type | Method and Description |
---|---|
boolean |
dependsOn(IOriginRetentionPolicy policy)
Checks whether this origin retention policy depends on the given policy.
|
OriginRetentionPolicyKind |
getKind()
Returns the kind of this retention policy.
|
boolean |
isCompatibleWith(IOriginRetentionPolicy policy)
Checks whether this policy is compatible (i.e.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handleOrigin, uniteWith
protected AbstractOriginRetentionPolicy(OriginRetentionPolicyKind kind)
kind
- The origin retention policy kind.public OriginRetentionPolicyKind getKind()
IOriginRetentionPolicy
getKind
in interface IOriginRetentionPolicy
public boolean isCompatibleWith(IOriginRetentionPolicy policy)
isCompatibleWith
in interface IOriginRetentionPolicy
policy
- The retention policy to check againstTrue
if the policies may be united, false
otherwisepublic boolean dependsOn(IOriginRetentionPolicy policy)
dependsOn
in interface IOriginRetentionPolicy
policy
- The policy to check for dependenciesTrue
if the policy depends on the given policy, false
otherwiseCopyright 2017 Kieker Project, http://kieker-monitoring.net