Operation

com.github.cloudfiles.core.FileSystem.Operation
case class Operation[+A](run: ActorRef[HttpCommand] => Future[A])

A type to represent an operation on a FileSystem. This type is returned by the functions of the ''FileSystem'' trait. It is basically a description of an operation to be executed. The operation is executed by invoking the ''run()'' function of this object. The ''run()'' function expects an actor to execute an HTTP request and returns a ''Future'' with the result.

Type parameters

A

the result type of this operation

Value parameters

run

the function to execute this operation

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def flatMap[B](f: A => Operation[B])(implicit ec: ExecutionContext): Operation[B]
def map[B](f: A => B)(implicit ec: ExecutionContext): Operation[B]

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product