tasks.util
Members list
Type members
Experimental classlikes
Attributes
- Experimental
- true
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Aes.type
Attributes
- Experimental
- true
- Supertypes
Attributes
- Companion
- class
- Experimental
- true
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
HeartBeatActor.type
Attributes
- Companion
- object
- Experimental
- true
- Supertypes
-
trait ActorLoggingtrait Actorclass Objecttrait Matchableclass Any
Attributes
- Experimental
- true
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Experimental
- true
- Supertypes
-
trait ActorLoggingtrait Actorclass Objecttrait Matchableclass Any
- Known subtypes
Utility class facilitating sending ActorRefs over the wire
Utility class facilitating sending ActorRefs over the wire
This class is not used internally in tasks, it is to be used by client code
The use case of this class is to set up real time communication between tasks
Serializers are provided for message transfer but this class is not meant for persistent storage.
Attributes
- Companion
- object
- Experimental
- true
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Experimental
- true
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
SerializedActorRef.type
Attributes
- Experimental
- true
- Supertypes
Holds a hostname and a port
Holds a hostname and a port
No name resolution.
Attributes
- Experimental
- true
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Experimental
- true
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TempFile.type
Attributes
- Companion
- object
- Experimental
- true
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Experimental
- true
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Type safe equality http://hseeberger.github.io/blog/2013/05/31/implicits-unchained-type-safe-equality-part2/
Type safe equality http://hseeberger.github.io/blog/2013/05/31/implicits-unchained-type-safe-equality-part2/
Attributes
- Experimental
- true
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
eq.type
Value members
Experimental methods
Merge maps with key collision
Merge maps with key collision
Value parameters
- fun
-
Handles key collision
Attributes
- Experimental
- true
Merge maps with key collision
Merge maps with key collision
Value parameters
- fun
-
Handles key collision
Attributes
- Experimental
- true
Attributes
- Experimental
- true
Attributes
- Experimental
- true
Attributes
- Experimental
- true
Execute command with user function to process each line of output.
Execute command with user function to process each line of output.
Based on from http://www.jroller.com/thebugslayer/entry/executing_external_system_commands_in Creates 2 new threads: one for the stdout, one for the stderror.
Value parameters
- pb
-
Description of the executable process
Attributes
- Returns
-
Exit code of the process.
- Experimental
- true
Execute command. Returns stdout and stderr as strings, and true if it was successful.
Execute command. Returns stdout and stderr as strings, and true if it was successful.
A process is considered successful if its exit code is 0 and the error stream is empty. The latter criterion can be disabled with the unsuccessfulOnErrorStream parameter.
Value parameters
- atMost
-
max waiting time.
- pb
-
The process description.
- unsuccessfulOnErrorStream
-
if true, then the process is considered as a failure if its stderr is not empty.
Attributes
- Returns
-
(stdout,stderr,success) triples
- Experimental
- true
Opens a buffered java.io.BufferedInputStream on the file. Closes it after the block is executed.
Opens a buffered java.io.BufferedInputStream on the file. Closes it after the block is executed.
Attributes
- Experimental
- true
Opens a buffered java.io.BufferedOutputStream on the file. Closes it after the block is executed.
Opens a buffered java.io.BufferedOutputStream on the file. Closes it after the block is executed.
Attributes
- Experimental
- true
Reads file contents into a bytearray.
Reads file contents into a bytearray.
Attributes
- Experimental
- true
Reads file contents into a bytearray.
Reads file contents into a bytearray.
Attributes
- Experimental
- true
Reads file contents into a bytearray.
Reads file contents into a bytearray.
Attributes
- Experimental
- true
Returns an iterator on the InputStream's data.
Returns an iterator on the InputStream's data.
Closes the stream when read through.
Attributes
- Experimental
- true
Attributes
- Experimental
- true
Attributes
- Experimental
- true
Attributes
- Experimental
- true
Retry the given block n times.
Retry the given block n times.
Attributes
- Experimental
- true
Attributes
- Experimental
- true
Attributes
- Experimental
- true
Attributes
- Experimental
- true
Attributes
- Experimental
- true
Returns the result of the block, and closes the resource.
Returns the result of the block, and closes the resource.
Value parameters
- f
-
block using the resource
- param
-
closeable resource
Attributes
- Experimental
- true
Writes binary data to file.
Writes binary data to file.
Attributes
- Experimental
- true
Writes binary data to file.
Writes binary data to file.
Attributes
- Experimental
- true
Attributes
- Experimental
- true
Writes text data to file.
Writes text data to file.
Attributes
- Experimental
- true
Writes text data to file.
Writes text data to file.
Attributes
- Experimental
- true