cc.otavia.core.stack

Members list

Packages

Type members

Classlikes

abstract class AbstractPromise[V] extends Future[V], Poolable

An abstract class for Promise

An abstract class for Promise

Attributes

Supertypes
trait Poolable
trait Future[V]
class Object
trait Matchable
class Any
final class AskStack[A <: Ask[_ <: Reply]] extends Stack

Attributes

Companion
object
Supertypes
class Stack
trait Poolable
class Object
trait Matchable
class Any
object AskStack

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
AskStack.type
final class BatchAskStack[A <: Ask[_ <: Reply]] extends Stack

Attributes

Companion
object
Supertypes
class Stack
trait Poolable
class Object
trait Matchable
class Any
object BatchAskStack

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class BatchNoticeStack[N <: Notice] extends Stack

Attributes

Companion
object
Supertypes
class Stack
trait Poolable
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
trait ChannelFuture extends Future[AnyRef]

Attributes

Companion
object
Supertypes
trait Future[AnyRef]
class Object
trait Matchable
class Any
object ChannelFuture

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
class ChannelStack[+T <: AnyRef] extends Stack, QueueMapEntity

Attributes

Companion
object
Supertypes
class Stack
trait Poolable
class Object
trait Matchable
class Any
Show all
object ChannelStack

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
trait Future[+V]

The result of an asynchronous operation.

The result of an asynchronous operation.

An asynchronous operation is one that might be completed outside a given Actor of execution. The operation can either be performing computation, or I/O, or both.

All I/O operations in Otavia are asynchronous. It means any I/O calls will return immediately with no guarantee that the requested I/O operation has been completed at the end of the call. Instead, you will be returned with a Future instance which gives you the information about the result or status of the I/O operation.

A Future is either uncompleted or completed. When an I/O operation begins, a new future object is created. The new future is uncompleted initially - it is neither succeeded, failed, nor cancelled because the I/O operation is not finished yet. If the I/O operation is finished either successfully, with failure, or by cancellation, the future is marked as completed with more specific information, such as the cause of the failure. Please note that even failure and cancellation belong to the completed state.

Type parameters

V

type of result

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class AbstractPromise[V]
trait MessageFuture[R]
sealed trait MessageFuture[+R <: Reply] extends Future[R]

User interface for class MessagePromise

User interface for class MessagePromise

Type parameters

R

type of Reply

Attributes

Companion
object
Supertypes
trait Future[R]
class Object
trait Matchable
class Any
object MessageFuture

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
final class NoticeStack[N <: Notice] extends Stack

Attributes

Companion
object
Supertypes
class Stack
trait Poolable
class Object
trait Matchable
class Any
object NoticeStack

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
abstract class Stack extends Poolable

Attributes

Supertypes
trait Poolable
class Object
trait Matchable
class Any
Known subtypes
class AskStack[A]
class BatchAskStack[A]
class BatchNoticeStack[N]
class ChannelStack[T]
class NoticeStack[N]
trait StackState

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class FutureState[R]
class FuturesState[R]
class StartState
object StackState

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
StackState.type
sealed trait StackYield

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object StackYield

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
StackYield.type