org.wiperdog.jobmanager.internal
Class CounterOperator

java.lang.Object
  extended by org.wiperdog.jobmanager.internal.AbstractOperator
      extended by org.wiperdog.jobmanager.internal.CounterOperator
All Implemented Interfaces:
Follower, MultiFollower, Node, Operator, Predecessor

public class CounterOperator
extends AbstractOperator

Author:
kurohara

Field Summary
 
Fields inherited from class org.wiperdog.jobmanager.internal.AbstractOperator
id, logger, outFlowList, switchboard, upperConnectionList
 
Fields inherited from interface org.wiperdog.jobmanager.Node
KEY_JOBEXECUTIONFAILED
 
Constructor Summary
CounterOperator(String name, int count)
           
 
Method Summary
protected  boolean chkSwitchBoard()
           
 void connectUpperFlow(int index, Predecessor f)
          先行ノードの 指定位置の後続ノードを自ノードにする。
 void connectUpperFlow(Predecessor p)
          先行ノードに自ノードを追加する
 boolean getPValue()
           
 
Methods inherited from class org.wiperdog.jobmanager.internal.AbstractOperator
addOutFlow, deleteOutFlow, disconnectUpperFlow, disconnectUpperFlow, flowOut, getId, getName, getOutFlows, getTValues, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CounterOperator

public CounterOperator(String name,
                       int count)
Method Detail

getPValue

public boolean getPValue()
Returns:

chkSwitchBoard

protected boolean chkSwitchBoard()
Specified by:
chkSwitchBoard in class AbstractOperator

connectUpperFlow

public void connectUpperFlow(int index,
                             Predecessor f)
                      throws ConditionBoardException
Description copied from interface: MultiFollower
先行ノードの 指定位置の後続ノードを自ノードにする。

Specified by:
connectUpperFlow in interface MultiFollower
Overrides:
connectUpperFlow in class AbstractOperator
Parameters:
index - 位置
f - 先行ノード
Throws:
ConditionBoardException

connectUpperFlow

public void connectUpperFlow(Predecessor p)
                      throws ConditionBoardException
Description copied from interface: Follower
先行ノードに自ノードを追加する

Specified by:
connectUpperFlow in interface Follower
Overrides:
connectUpperFlow in class AbstractOperator
Parameters:
p - 先行ノード
Throws:
ConditionBoardException


Copyright © 2013. All Rights Reserved.