-
-
Save l1x/98a242724dc5762c0677 to your computer and use it in GitHub Desktop.
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
riak-loader.core=> (def b (InetSocketAddress. "127.0.0.1" 10017)) | |
#'riak-loader.core/b | |
riak-loader.core=> b | |
#object[java.net.InetSocketAddress 0x50273135 "/127.0.0.1:10017"] | |
riak-loader.core=> (RiakClient/newClient b) | |
IllegalArgumentException No matching method found: newClient clojure.lang.Reflector.invokeMatchingMethod (Reflector.java:80) | |
riak-loader.core=> (RiakClient/newClient 10017 (java.util.LinkedList. '("127.0.0.1" ))) | |
#object[com.basho.riak.client.api.RiakClient 0x6ab22b3a "com.basho.riak.client.api.RiakClient@6ab22b3a"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment