Last active
August 29, 2015 14:13
-
-
Save rcarmo/25cf1f7447c669a7ba2b to your computer and use it in GitHub Desktop.
Hazelcast in Jython
This file contains hidden or 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
$ export CLASSPATH=$CLASSPATH:lib/hazelcast-3.4.jar | |
$ python | |
*sys-package-mgr*: processing new jar, '/home/rcarmo/Development/jython-hazelcast/lib/hazelcast-3.4.jar' | |
Jython 2.7b3 (default:e81256215fb0, Aug 4 2014, 02:39:51) | |
[Java HotSpot(TM) 64-Bit Server VM (Oracle Corporation)] on java1.8.0_05 | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> import com.hazelcast.core.Hazelcast as Hazelcast | |
>>> import com.hazelcast.config.Config as Config | |
>>> h = Hazelcast.newHazelcastInstance(Config()) | |
jan 09, 2015 4:17:23 PM com.hazelcast.instance.DefaultAddressPicker | |
INFO: [LOCAL] [dev] [3.4] Prefer IPv4 stack is true. | |
jan 09, 2015 4:17:23 PM com.hazelcast.instance.DefaultAddressPicker | |
INFO: [LOCAL] [dev] [3.4] Picked Address[192.168.1.250]:5701, using socket ServerSocket[addr=/0:0:0:0:0:0:0:0,localport=5701], bind any local is true | |
jan 09, 2015 4:17:23 PM com.hazelcast.spi.OperationService | |
INFO: [192.168.1.250]:5701 [dev] [3.4] Backpressure is disabled | |
jan 09, 2015 4:17:23 PM com.hazelcast.spi.impl.BasicOperationScheduler | |
INFO: [192.168.1.250]:5701 [dev] [3.4] Starting with 2 generic operation threads and 4 partition operation threads. | |
jan 09, 2015 4:17:24 PM com.hazelcast.system | |
INFO: [192.168.1.250]:5701 [dev] [3.4] Hazelcast 3.4 (20141224 - 3dc5214) starting at Address[192.168.1.250]:5701 | |
jan 09, 2015 4:17:24 PM com.hazelcast.system | |
INFO: [192.168.1.250]:5701 [dev] [3.4] Copyright (C) 2008-2014 Hazelcast.com | |
jan 09, 2015 4:17:24 PM com.hazelcast.instance.Node | |
INFO: [192.168.1.250]:5701 [dev] [3.4] Creating MulticastJoiner | |
jan 09, 2015 4:17:24 PM com.hazelcast.core.LifecycleService | |
INFO: [192.168.1.250]:5701 [dev] [3.4] Address[192.168.1.250]:5701 is STARTING | |
jan 09, 2015 4:17:31 PM com.hazelcast.cluster.impl.MulticastJoiner | |
INFO: [192.168.1.250]:5701 [dev] [3.4] | |
Members [1] { | |
Member [192.168.1.250]:5701 this | |
} | |
jan 09, 2015 4:17:31 PM com.hazelcast.core.LifecycleService | |
INFO: [192.168.1.250]:5701 [dev] [3.4] Address[192.168.1.250]:5701 is STARTED | |
>>> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment