Skip to content

Commit

Permalink
Improved error handling in Cluster.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas Bonér committed Jun 17, 2011
1 parent 5bcbdb2 commit 549f33a
Show file tree
Hide file tree
Showing 4 changed files with 129 additions and 101 deletions.
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ the License.

---------------

Licenses for dependency projects can be found here:
[http://doc.akka.io/licenses]
Licenses for dependency projects can be found here:
[http://akka.io/docs/akka/snapshot/project/licenses.html]
6 changes: 3 additions & 3 deletions akka-actor/src/main/scala/akka/cluster/ClusterInterface.scala
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ trait ClusterNode {
/**
* Returns the actor id for the actor with a specific UUID.
*/
def actorAddressForUuid(uuid: UUID): String
def actorAddressForUuid(uuid: UUID): Option[String]

/**
* Returns the actor ids for all the actors with a specific UUID.
Expand Down Expand Up @@ -456,15 +456,15 @@ trait ClusterNode {
/**
* Returns the config element for the key or NULL if no element exists under the key.
*/
def getConfigElement(key: String): Array[Byte]
def getConfigElement(key: String): Option[Array[Byte]]

def removeConfigElement(key: String)

def getConfigElementKeys: Array[String]

private[cluster] def initializeNode()

private[cluster] def addressForNode(node: String): InetSocketAddress
private[cluster] def addressForNode(node: String): Option[InetSocketAddress]

private[cluster] def publish(change: ChangeNotification)

Expand Down
Loading

0 comments on commit 549f33a

Please sign in to comment.