Package io.javago
package io.javago
Provides Java class implementing core Go concurrency features such as the
go and select keywords and
channels.
For Java implementations of Go's sync package, use the io.javago.sync package.-
ClassDescriptionThe
BufferedQueueChannelclass is an implementation of theChannelinterface, providing a Gochannelbacked by a Queue for passing messages between threads.Channel<T>TheChannelinterface defines the operations to create Go'schannelin Java that can send and receive messages of a specified type.TheDelayedCaseclass is used to create the timeout case found in Go'sselectstatement.TheGoclass implements Go'sgostatement.InputChannel<T>TheInputChannelinterface defines the operations for a Gochannelin Java that can receive messages of a specified type.TheInputChannelCaseclass is used by theSelectorclass to create a case that is run when a message is received from the case's channel.TheOutputChannelinterface defines the operations for a Gochannelin Java that can send messages of a specified type.TheOutputChannelCaseclass is used by theSelectorclass to create a case that is run when a message is sent to the case's channel.TheSelectorclass implements Go'sselectstatement.