Package org.apache.nifi.groups
Class StandardDataValve
java.lang.Object
org.apache.nifi.groups.StandardDataValve
- All Implemented Interfaces:
DataValve
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Stringprivate static final Stringprivate booleanprivate static final org.slf4j.Loggerprivate final ProcessGroupprivate final StateManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcloseFlowIntoGroup(ProcessGroup destinationGroup) voidcloseFlowOutOfGroup(ProcessGroup sourceGroup) getIdsForKey(StateMap stateMap, String key) getReasonFlowIntoGroupNotAllowed(ProcessGroup destinationGroup) private StringgetReasonFlowOutOfGroupNotAllowed(ProcessGroup sourceGroup) private voidprivate voidtoString()booleantryOpenFlowIntoGroup(ProcessGroup destinationGroup) booleantryOpenFlowOutOfGroup(ProcessGroup sourceGroup)
-
Field Details
-
logger
private static final org.slf4j.Logger logger -
GROUPS_WITH_DATA_FLOWING_IN_STATE_KEY
- See Also:
-
GROUPS_WITH_DATA_FLOWING_OUT_STATE_KEY
- See Also:
-
processGroup
-
stateManager
-
groupsWithDataFlowingIn
-
groupsWithDataFlowingOut
-
leftOpenDueToDataQueued
private boolean leftOpenDueToDataQueued
-
-
Constructor Details
-
StandardDataValve
-
-
Method Details
-
tryOpenFlowIntoGroup
- Specified by:
tryOpenFlowIntoGroupin interfaceDataValve
-
getReasonFlowIntoGroupNotAllowed
private StandardDataValve.FlowInForbiddenReason getReasonFlowIntoGroupNotAllowed(ProcessGroup destinationGroup) -
closeFlowIntoGroup
- Specified by:
closeFlowIntoGroupin interfaceDataValve
-
tryOpenFlowOutOfGroup
- Specified by:
tryOpenFlowOutOfGroupin interfaceDataValve
-
getReasonFlowOutOfGroupNotAllowed
-
closeFlowOutOfGroup
- Specified by:
closeFlowOutOfGroupin interfaceDataValve
-
getDiagnostics
- Specified by:
getDiagnosticsin interfaceDataValve
-
recoverState
private void recoverState() -
getIdsForKey
-
storeState
private void storeState() -
toString
-