Making register and unregister of ActorRegistry private
This commit is contained in:
parent
d2c9da0b88
commit
0e9aa2d655
1 changed files with 2 additions and 2 deletions
|
|
@ -237,7 +237,7 @@ object ActorRegistry extends ListenerManagement {
|
|||
/**
|
||||
* Registers an actor in the ActorRegistry.
|
||||
*/
|
||||
def register(actor: ActorRef) = {
|
||||
private[akka] def register(actor: ActorRef) = {
|
||||
// ID
|
||||
actorsById.put(actor.id, actor)
|
||||
|
||||
|
|
@ -251,7 +251,7 @@ object ActorRegistry extends ListenerManagement {
|
|||
/**
|
||||
* Unregisters an actor in the ActorRegistry.
|
||||
*/
|
||||
def unregister(actor: ActorRef) = {
|
||||
private[akka] def unregister(actor: ActorRef) = {
|
||||
actorsByUUID remove actor.uuid
|
||||
|
||||
actorsById.remove(actor.id,actor)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue