Examples of storeNew()


Examples of net.opentsdb.meta.TSMeta.storeNew()

              } else {
                TSMeta new_meta = new TSMeta(tsuid, timestamp);
                tsdb.indexTSMeta(new_meta);
                LOG.info("Counter exists but meta was null, creating meta data for timeseries [" +
                    tsuid_string + "]");
                return new_meta.storeNew(tsdb);   
              }
            }
          }
         
          // Take care of situations where the counter is created but the
View Full Code Here

Examples of net.opentsdb.meta.TSMeta.storeNew()

            meta.getTSUID().isEmpty()) {
          LOG.warn("Replacing corrupt meta data for timeseries [" +
              tsuid_string + "]");
          TSMeta new_meta = new TSMeta(tsuid, timestamp);
          tsdb.indexTSMeta(new_meta);
          return new_meta.storeNew(tsdb);
        } else {
          // we only want to update the time if it was outside of an
          // hour otherwise it's probably an accurate timestamp
          if (meta.getCreated() > (timestamp + 3600) ||
              meta.getCreated() == 0) {
View Full Code Here

Examples of net.opentsdb.meta.TSMeta.storeNew()

              } else {
                TSMeta new_meta = new TSMeta(tsuid, timestamp);
                tsdb.indexTSMeta(new_meta);
                LOG.info("Counter exists but meta was null, creating meta data for timeseries [" +
                    tsuid_string + "]");
                return new_meta.storeNew(tsdb);   
              }
            }
          }
         
          // Take care of situations where the counter is created but the
View Full Code Here

Examples of net.opentsdb.meta.TSMeta.storeNew()

            meta.getTSUID().isEmpty()) {
          LOG.warn("Replacing corrupt meta data for timeseries [" +
              tsuid_string + "]");
          TSMeta new_meta = new TSMeta(tsuid, timestamp);
          tsdb.indexTSMeta(new_meta);
          return new_meta.storeNew(tsdb);
        } else {
          // we only want to update the time if it was outside of an
          // hour otherwise it's probably an accurate timestamp
          if (meta.getCreated() > (timestamp + 3600) ||
              meta.getCreated() == 0) {
View Full Code Here

Examples of net.opentsdb.meta.TSMeta.storeNew()

              } else {
                TSMeta new_meta = new TSMeta(tsuid, timestamp);
                tsdb.indexTSMeta(new_meta);
                LOG.info("Counter exists but meta was null, creating meta data for timeseries [" +
                    tsuid_string + "]");
                return new_meta.storeNew(tsdb);   
              }
            }
          }
         
          // Take care of situations where the counter is created but the
View Full Code Here

Examples of net.opentsdb.meta.UIDMeta.storeNew()

      cacheMapping(name, row);
     
      if (tsdb != null && tsdb.getConfig().enable_realtime_uid()) {
        final UIDMeta meta = new UIDMeta(type, row, name);
        meta.storeNew(tsdb);
        LOG.info("Wrote UIDMeta for: " + name);
        tsdb.indexUIDMeta(meta);
      }
     
      synchronized (pending_assignments) {
View Full Code Here

Examples of net.opentsdb.meta.UIDMeta.storeNew()

              } else {
                TSMeta new_meta = new TSMeta(tsuid, timestamp);
                tsdb.indexTSMeta(new_meta);
                LOG.info("Counter exists but meta was null, creating meta data for timeseries [" +
                    tsuid_string + "]");
                return new_meta.storeNew(tsdb);   
              }
            }
          }
         
          // Take care of situations where the counter is created but the
View Full Code Here

Examples of net.opentsdb.meta.UIDMeta.storeNew()

            meta.getTSUID().isEmpty()) {
          LOG.warn("Replacing corrupt meta data for timeseries [" +
              tsuid_string + "]");
          TSMeta new_meta = new TSMeta(tsuid, timestamp);
          tsdb.indexTSMeta(new_meta);
          return new_meta.storeNew(tsdb);
        } else {
          // we only want to update the time if it was outside of an
          // hour otherwise it's probably an accurate timestamp
          if (meta.getCreated() > (timestamp + 3600) ||
              meta.getCreated() == 0) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.