Created
February 25, 2011 05:39
-
-
Save jasonjckn/843408 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
(ns backtype.storm.spout.KestrelSpout2 | |
(:use backtype.storm.spout) | |
(:import backtype.storm.spout.ISpout) | |
(:gen-class | |
;:name backtype.storm.spout.KestrelSpout | |
:implements [ISpout] | |
;;:prefix "ks-" | |
:init init | |
:constructors {[String int] []} | |
:state state)) | |
(defn -init [hostname port] | |
[[] (atom {:hostname hostname})]) | |
;; (defn impl-open [conf] | |
;; 3) | |
#_ (let [x (new backtype.storm.spout.KestrelSpout2 "foo" 3)] | |
x) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment