Kieker 1.9

kieker.tools.traceAnalysis.filter.visualization.graph
Class CompleteOriginRetentionPolicy

java.lang.Object
  extended by kieker.tools.traceAnalysis.filter.visualization.graph.AbstractOriginRetentionPolicy
      extended by kieker.tools.traceAnalysis.filter.visualization.graph.CompleteOriginRetentionPolicy
All Implemented Interfaces:
IOriginRetentionPolicy

public final class CompleteOriginRetentionPolicy
extends AbstractOriginRetentionPolicy

The complete origin retention policy represents the intention that every origin should be retained in the graph model and corresponds to the kind OriginRetentionPolicyKind.ALL. Be aware that this policy may lead to extensive resource consumption when processing vast logs.

Since:
1.6
Author:
Holger Knoche

Method Summary
static CompleteOriginRetentionPolicy createInstance()
          Factory method for the complete origin retention policy.
<T> void
handleOrigin(AbstractGraphElement<T> element, T origin)
          Handles a given origin for the given graph element.
 IOriginRetentionPolicy uniteWith(IOriginRetentionPolicy other)
          Unites this retention policy with another one and returns the resulting policy.
 
Methods inherited from class kieker.tools.traceAnalysis.filter.visualization.graph.AbstractOriginRetentionPolicy
dependsOn, getKind, isCompatibleWith
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

uniteWith

public IOriginRetentionPolicy uniteWith(IOriginRetentionPolicy other)
Description copied from interface: IOriginRetentionPolicy
Unites this retention policy with another one and returns the resulting policy. Note that the resulting policy is not necessarily one of the original policies.

Parameters:
other - The retention policy to unite this policy with
Returns:
The resulting policy, which may be a completely new object

handleOrigin

public <T> void handleOrigin(AbstractGraphElement<T> element,
                             T origin)
Description copied from interface: IOriginRetentionPolicy
Handles a given origin for the given graph element.

Type Parameters:
T - The type of the entity within the graph element.
Parameters:
element - The graph element to handle the origin for
origin - The origin to handle

createInstance

public static CompleteOriginRetentionPolicy createInstance()
Factory method for the complete origin retention policy.

Returns:
See above

Kieker 1.9

Copyright 2014 Kieker Project, http://kieker-monitoring.net