while (flag_observer.get()) {
String json = getSingleLineStatus(urlString);
if (json != null) {
debug(json);
Gson gson = new Gson();
MonitorInfo monitorInfo = gson
.fromJson(json, MonitorInfo.class);
int stateCount = monitorInfo.stateSequence.size();
debug("states:" + stateCount);
if (stateCount <= 0) {
message = new StringBuffer();