Further work on binary compatibility

This commit is contained in:
Viktor Klang 2012-05-18 16:41:19 +02:00
parent 07bf11d326
commit 4fb4903225
4 changed files with 42 additions and 43 deletions

View file

@ -10,10 +10,8 @@ import akka.actor._
* An Iterable that also contains a version.
*/
trait VersionedIterable[A] {
val version: Long
def version: Long
def iterable: Iterable[A]
def apply(): Iterable[A] = iterable
}
@ -42,7 +40,7 @@ trait ConnectionManager {
/**
* Shuts the connection manager down, which stops all managed actors
*/
def shutdown()
def shutdown(): Unit
/**
* Returns a VersionedIterator containing all connected ActorRefs at some moment in time. Since there is
@ -59,5 +57,5 @@ trait ConnectionManager {
*
* @param ref the dead
*/
def remove(deadRef: ActorRef)
def remove(deadRef: ActorRef): Unit
}