A KanbanLink is the simplest possible producer-consumer pair in a kanban-like
scenario as described in
Field Summary
Modifiers
Name
Description
protected DataflowProcessor consumer
protected DataflowQueue downstream
protected DataflowProcessor producer
protected DataflowQueue upstream
Properties Summary
Type
Name and description
ProcessingNode consumerSpec
KanbanFlow flow
ProcessingNode producerSpec
Constructor Summary
Constructor and description
KanbanLink
()
Methods Summary
Type
Name and description
java.lang.ObjectaddOptimalNumberOfTrays()
Put as many trays into the system as there are processing units.
voidaddTray()
Putting another tray into system by adding an empty one to the upstream
protected booleanconsumerAlreadyStarted()
intgetId()
The index of this link in its flow
protected booleanproducerAlreadyStarted()
voidremoveTray()
Removing a tray from the system by fetching the next one from the upstream
voidstart()
Construct and start the operators if not already started.
voidstop()
Immediately terminating all producers and consumers
KanbanLinkto(ProcessingNode consumerSpec)
Second part of the sequence link producer to consumer.Inherited Methods Summary
Methods inherited from class
Name
class java.lang.Objectjava.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
Put as many trays into the system as there are processing units. This is usually the optimal count. *
Putting another tray into system by adding an empty one to the upstream. *
The index of this link in its flow. *
Removing a tray from the system by fetching the next one from the upstream. *
Construct and start the operators if not already started. No trays are put automatically into the upstream.
Immediately terminating all producers and consumers. *
Second part of the sequence link producer to consumer.
Copyright © 2008–2014 Václav Pech. All Rights Reserved.