This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Typed class GridGainTest { | |
public static void main(String[] args) { | |
def local = GridFactory.start("spring-cache.xml").localNode | |
local.remoteListenAsync(local) { nid, String msg -> | |
// we infer of course that this is GridListenActor | |
grid () | |
// we infer nid instanceof UUID | |
println nid.leastSignificantBits | |
println msg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Typed package org.mbte.akkatest | |
import se.scalablesolutions.akka.actor.* | |
import java.util.concurrent.TimeUnit | |
import java.util.concurrent.CountDownLatch | |
import se.scalablesolutions.akka.config.JavaConfig.AllForOne | |
import se.scalablesolutions.akka.config.JavaConfig.RestartStrategy | |
import se.scalablesolutions.akka.config.ScalaConfig.Server | |
class Akka { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package angular.demo | |
import angular.* | |
object HelloWorldModule : Module("HelloWorld") { | |
val hello = constant("hello", "Hello") | |
val world: String by factory("world") {"World"} | |
} |
OlderNewer