Package net.opentsdb.meta

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


          new_meta.setCreated(timestamp);
          tsdb.indexUIDMeta(new_meta);
          LOG.info("Replacing corrupt UID [" + UniqueId.uidToString(uid) +
            "] of type [" + type + "]");
         
          return new_meta.syncToStorage(tsdb, true);
        }
       
      }
     
      @Override
View Full Code Here


          new_meta.setCreated(timestamp);
          tsdb.indexUIDMeta(new_meta);
          LOG.info("Replacing corrupt UID [" + UniqueId.uidToString(uid) +
            "] of type [" + type + "]");
         
          return new_meta.syncToStorage(tsdb, true);
        }
       
      }
     
      @Override
View Full Code Here

        }
       
      }
     
      try {
        final Deferred<UIDMeta> process_meta = meta.syncToStorage(tsdb,
            method == HttpMethod.PUT).addCallbackDeferring(new SyncCB());
        final UIDMeta updated_meta = process_meta.joinUninterruptibly();
        tsdb.indexUIDMeta(updated_meta);
        query.sendReply(query.serializer().formatUidMetaV1(updated_meta));
      } catch (IllegalStateException e) {
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.