Package

com.github.astonbitecode.zoocache.api

akka

Permalink

package akka

The package contains the message objects that form the Akka API

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. akka
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class AddPathToCache(path: String, correlation: Option[Any] = None) extends Product with Serializable

    Permalink

    Adds a path to the cache.

    Adds a path to the cache. The cache will be updating all the subtree under the defined path.

    path

    The path to add in the cache

    correlation

    Optional parameter to help the sender correlating the request with the response

  2. case class AddPathToCacheResponse(path: String, correlation: Option[Any]) extends Product with Serializable

    Permalink

    The response message for the AddPathToCache

    The response message for the AddPathToCache

    path

    The path that was specified in the request

    correlation

    Optional parameter to help the sender correlating the request with the response. This parameter will be the same with the one used in the AddPathToCache message

  3. case class CacheFailure(cause: Throwable, correlation: Option[Any]) extends Product with Serializable

    Permalink

    The response in cases of failures.

    The response in cases of failures.

    correlation

    Optional parameter to help the sender correlating the request with the response.

  4. case class Find(regex: String, correlation: Option[Any] = None) extends Product with Serializable

    Permalink

    Retrieves the data and children of the paths that match the specified regex.

    Retrieves the data and children of the paths that match the specified regex.

    correlation

    Optional parameter to help the sender correlating the request with the response

  5. case class FindResponse(cacheResults: List[CacheResult], correlation: Option[Any]) extends Product with Serializable

    Permalink

    The response message for the Find

    The response message for the Find

    cacheResults

    The results that are found.

    correlation

    Optional parameter to help the sender correlating the request with the response. This parameter will be the same with the one used in the GetData message

  6. case class GetChildren(path: String, correlation: Option[Any] = None) extends Product with Serializable

    Permalink

    Gets the children of the node of the given path

    Gets the children of the node of the given path

    path

    The path of a node to get the children for

    correlation

    Optional parameter to help the sender correlating the request with the response

  7. case class GetChildrenResponse(path: String, children: List[String], correlation: Option[Any]) extends Product with Serializable

    Permalink

    The response message for the GetChildren

    The response message for the GetChildren

    path

    The path that was specified in the request

    children

    A List of children of the specified path

    correlation

    Optional parameter to help the sender correlating the request with the response. This parameter will be the same with the one used in the GetChildren message

  8. case class GetData(path: String, correlation: Option[Any] = None) extends Product with Serializable

    Permalink

    Gets the data of the node of the given path

    Gets the data of the node of the given path

    path

    The path of a node to get the data for

    correlation

    Optional parameter to help the sender correlating the request with the response

  9. case class GetDataResponse(path: String, data: Array[Byte], correlation: Option[Any]) extends Product with Serializable

    Permalink

    The response message for the GetData

    The response message for the GetData

    path

    The path that was specified in the request

    data

    An Array of bytes with the data of the specified path

    correlation

    Optional parameter to help the sender correlating the request with the response. This parameter will be the same with the one used in the GetData message

  10. case class RemovePathFromCache(path: String, correlation: Option[Any] = None) extends Product with Serializable

    Permalink

    Removes a path from the cache.

    Removes a path from the cache. All the paths of the subtree under the defined path will also be removed from the cache and will stop being updated.

    path

    The to remove from the cache

    correlation

    Optional parameter to help the sender correlating the request with the response

  11. case class RemovePathFromCacheResponse(path: String, correlation: Option[Any]) extends Product with Serializable

    Permalink

    The response message for the RemovePathFromCache

    The response message for the RemovePathFromCache

    path

    The path that was specified in the request

    correlation

    Optional parameter to help the sender correlating the request with the response. This parameter will be the same with the one used in the RemovePathFromCache message

  12. case class Stop(correlation: Option[Any] = None) extends Product with Serializable

    Permalink

    Stops and shuts down the cache resources

    Stops and shuts down the cache resources

    correlation

    Optional parameter to help the sender correlating the request with the response

  13. case class StopResponse(correlation: Option[Any]) extends Product with Serializable

    Permalink

    The response message for the Stop

    The response message for the Stop

    correlation

    Optional parameter to help the sender correlating the request with the response. This parameter will be the same with the one used in the Stop message

Inherited from AnyRef

Inherited from Any

Ungrouped