-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
Description
46
-
47
writeJSONObjectToConsoleOnlyOnce(symbol, price);
+
48 -
49
// Implementation of JsonWriter & JsonReader in JSR-353 -
50
/* -
51
\* Writes/Reads the specified JSON object or array to the output source. -
52
\* This method needs to be called only once for a reader/writer instance - hence running only once. -
53
*/ -
54
writeJSONObjectToStreamOnlyOnce(symbol, price);
+
55 -
56
// Implementation of JsonObject & JsonObjectBuilder in JSR-353 -
57
// Returns a Json object with a symbol and price - continuously -
58
logger.log(Level.INFO, "JsonObject: {0}", getJSONObjectFromValues(symbol, price));
+
59 -
60
// Then pause for a bit...before starting all over again -
61
pauseForABit(1000); <======= here? -
}
@karianna: Why are we pausing ?
@neomatrix369: Needs further investigating and fixing after inquiring with @sivajik!