/**
* 删除已处理过的数据(此数据已被迁移到mysql中)
* QueryOperators.NIN
*/
public void deleteProcessedAlarm () {
DBCollection dBCollection = getAlarmColl();
BasicDBObject query = new BasicDBObject();
BasicDBObject stateCond = new BasicDBObject(LedConstants.MONGODB_ALARM_STATE, LedConstants.MONGODB_ALARM_STATE_NEW);
query.put(LedConstants.MONGODB_ALARM_STATE, new BasicDBObject(QueryOperators.NIN, stateCond));
dBCollection.remove(query);
}