} else {
return (latestCount + 1) * descriptor.getAllocationSize();
}
} catch (UnavailableException e) {
log.error("Error while reading counter value from table{}, Caused by: .", descriptor.getTable(), e);
throw new KunderaException(e);
} catch (TimedOutException e) {
log.error("Error while reading counter value from table{}, Caused by: .", descriptor.getTable(), e);
throw new KunderaException(e);
} catch (Exception e) {
log.error("Error while using keyspace. Caused by: .", e);
throw new KunderaException(e);
}
}