Removed WS and de-commented enforcer
This commit is contained in:
parent
78ced18a46
commit
4c778c386e
2 changed files with 4 additions and 4 deletions
|
|
@ -29,7 +29,7 @@ trait Cluster {
|
||||||
}
|
}
|
||||||
|
|
||||||
trait ClusterActor extends Actor with Cluster {
|
trait ClusterActor extends Actor with Cluster {
|
||||||
val name = config.getString("akka.remote.cluster.name") getOrElse "default"
|
val name = config.getString("akka.remote.cluster.name") getOrElse "default"
|
||||||
}
|
}
|
||||||
|
|
||||||
private[remote] object ClusterActor {
|
private[remote] object ClusterActor {
|
||||||
|
|
@ -139,7 +139,7 @@ abstract class BasicClusterActor extends ClusterActor {
|
||||||
}
|
}
|
||||||
|
|
||||||
protected def broadcast[T <: AnyRef](msg: T): Unit =
|
protected def broadcast[T <: AnyRef](msg: T): Unit =
|
||||||
if (!remotes.isEmpty) toAllNodes(Cluster.serializer out msg)
|
if (!remotes.isEmpty) toAllNodes(Cluster.serializer out msg)
|
||||||
|
|
||||||
def lookup[T](handleRemoteAddress: PartialFunction[RemoteAddress, T]): Option[T] =
|
def lookup[T](handleRemoteAddress: PartialFunction[RemoteAddress, T]): Option[T] =
|
||||||
remotes.values.toList.flatMap(_.endpoints).find(handleRemoteAddress isDefinedAt _).map(handleRemoteAddress)
|
remotes.values.toList.flatMap(_.endpoints).find(handleRemoteAddress isDefinedAt _).map(handleRemoteAddress)
|
||||||
|
|
|
||||||
4
pom.xml
4
pom.xml
|
|
@ -259,7 +259,7 @@
|
||||||
<sourceDirectory>src/main/scala</sourceDirectory>
|
<sourceDirectory>src/main/scala</sourceDirectory>
|
||||||
<testSourceDirectory>src/test/scala</testSourceDirectory>
|
<testSourceDirectory>src/test/scala</testSourceDirectory>
|
||||||
<plugins>
|
<plugins>
|
||||||
<!--plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-enforcer-plugin</artifactId>
|
<artifactId>maven-enforcer-plugin</artifactId>
|
||||||
<version>1.0</version>
|
<version>1.0</version>
|
||||||
|
|
@ -285,7 +285,7 @@
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin-->
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-surefire-plugin</artifactId>
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue