JVMGopher

gopher.JVMGopher
See theJVMGopher companion object
class JVMGopher[F[_]](cfg: JVMGopherConfig)(implicit evidence$1: CpsSchedulingMonad[F]) extends Gopher[F]

Attributes

Companion:
object
Source:
JVMGopher.scala
Graph
Supertypes
trait Gopher[F]
class Object
trait Matchable
class Any

Members list

Concise view

Type members

Inherited types

type Monad[X] = F[X]

Attributes

Inherited from:
Gopher
Source:
Gopher.scala

Value members

Concrete methods

def log(level: Level, message: String, ex: Throwable | Null): Unit

Attributes

Source:
JVMGopher.scala
def makeChannel[A](bufSize: Int, autoClose: Boolean): Channel[F, A, A]

Create Read/Write channel.

Create Read/Write channel.

Attributes

autoClose
  • close after first message was written to channel.
bufSize
  • size of buffer. If it is zero, the channel is unbuffered. (i.e. writer is blocked until reader start processing).
See also:

[gopher.Channel]

Source:
JVMGopher.scala
def scheduledExecutor: ScheduledExecutorService

Attributes

Source:
JVMGopher.scala
def setLogFun(logFun: (Level, String, Throwable | Null) => Unit): (Level, String, Throwable | Null) => Unit

set logging function, which output internal diagnostics and errors from spawned processes.

set logging function, which output internal diagnostics and errors from spawned processes.

Attributes

Source:
JVMGopher.scala

Inherited methods

def asyncMonad: CpsSchedulingMonad[F]

Monad which control asynchronic execution. The main is scheduling: i.e. ability to submit monadic expression to scheduler and know that this monadic expression will be evaluated.

Monad which control asynchronic execution. The main is scheduling: i.e. ability to submit monadic expression to scheduler and know that this monadic expression will be evaluated.

Attributes

Inherited from:
Gopher
Source:
Gopher.scala
def log(level: Level, message: String): Unit

Attributes

Inherited from:
Gopher
Source:
Gopher.scala
def makeOnceChannel[A](): Channel[F, A, A]

Create channel where you can write only one element.

Create channel where you can write only one element.

Attributes

See also:

[gopher.Channel]

Inherited from:
Gopher
Source:
Gopher.scala
def select: Select[F]

Create a select statement, which used for choosing one action from a set of potentially concurrent asynchronics events. [@see gopher.Select#apply

Create a select statement, which used for choosing one action from a set of potentially concurrent asynchronics events. [@see gopher.Select#apply

Attributes

Inherited from:
Gopher
Source:
Gopher.scala

Concrete fields

lazy val taskExecutionContext: ExecutionContext

Attributes

Source:
JVMGopher.scala
val time: Time[F]

get an object with time operations.

get an object with time operations.

Attributes

See also:
Source:
JVMGopher.scala