public DatastoreService.KeyRangeState checkRange(KeyRange keyRange, String sequenceName) {
   return InfinispanUtils.submit(
       CacheName.DIST, new KeyRangeCheckTask(keyRange, sequenceName), sequenceName);
 }
 public Long getRange(Key parent, String sequenceName, long num) {
   return InfinispanUtils.submit(
       CacheName.DIST, new KeyGeneratorTask(sequenceName, num), sequenceName);
 }