private int remainingTTL(Cell c, int nowInSec) { if (!c.isExpiring()) return -1; int remaining = c.localDeletionTime() - nowInSec; return remaining >= 0 ? remaining : -1; }
private int remainingTTL(Cell c, int nowInSec) { if (!c.isExpiring()) return -1; int remaining = c.localDeletionTime() - nowInSec; return remaining >= 0 ? remaining : -1; }
private int remainingTTL(Cell c, int nowInSec) { if (!c.isExpiring()) return -1; int remaining = c.localDeletionTime() - nowInSec; return remaining >= 0 ? remaining : -1; }
private static int minDeletionTime(Cell cell) { return cell.isTombstone() ? Integer.MIN_VALUE : cell.localDeletionTime(); }
private static int minDeletionTime(Cell cell) { return cell.isTombstone() ? Integer.MIN_VALUE : cell.localDeletionTime(); }
private static int minDeletionTime(Cell cell) { return cell.isTombstone() ? Integer.MIN_VALUE : cell.localDeletionTime(); }
public void update(Cell cell) { updateTimestamp(cell.timestamp()); if (cell.isExpiring()) { updateTTL(cell.ttl()); updateLocalDeletionTime(cell.localDeletionTime()); } else if (cell.isTombstone()) { updateLocalDeletionTime(cell.localDeletionTime()); } }
public void update(Cell cell) { updateTimestamp(cell.timestamp()); if (cell.isExpiring()) { updateTTL(cell.ttl()); updateLocalDeletionTime(cell.localDeletionTime()); } else if (cell.isTombstone()) { updateLocalDeletionTime(cell.localDeletionTime()); } }
public void update(Cell cell) { updateTimestamp(cell.timestamp()); updateTTL(cell.ttl()); updateLocalDeletionTime(cell.localDeletionTime()); }
private void indexCell(Clustering clustering, Cell cell) { if (cell == null || !cell.isLive(nowInSec)) return; insert(key.getKey(), clustering, cell, LivenessInfo.withExpirationTime(cell.timestamp(), cell.ttl(), cell.localDeletionTime()), opGroup); }
public void update(Cell cell) { updateTimestamp(cell.timestamp()); updateTTL(cell.ttl()); updateLocalDeletionTime(cell.localDeletionTime()); }
public void update(Cell cell) { updateTimestamp(cell.timestamp()); updateTTL(cell.ttl()); updateLocalDeletionTime(cell.localDeletionTime()); }
private void indexCell(Clustering clustering, Cell cell) { if (cell == null || !cell.isLive(nowInSec)) return; insert(key.getKey(), clustering, cell, LivenessInfo.withExpirationTime(cell.timestamp(), cell.ttl(), cell.localDeletionTime()), opGroup); }
public void update(Cell cell) { updateTimestamp(cell.timestamp()); updateTTL(cell.ttl()); updateLocalDeletionTime(cell.localDeletionTime()); }
private void indexCell(Clustering clustering, Cell cell) { if (cell == null || !cell.isLive(nowInSec)) return; insert(key.getKey(), clustering, cell, LivenessInfo.withExpirationTime(cell.timestamp(), cell.ttl(), cell.localDeletionTime()), opGroup); }
public NativeCell(NativeAllocator allocator, OpOrder.Group writeOp, Cell cell) { this(allocator, writeOp, cell.column(), cell.timestamp(), cell.ttl(), cell.localDeletionTime(), cell.value(), cell.path()); }
public NativeCell(NativeAllocator allocator, OpOrder.Group writeOp, Cell cell) { this(allocator, writeOp, cell.column(), cell.timestamp(), cell.ttl(), cell.localDeletionTime(), cell.value(), cell.path()); }
public NativeCell(NativeAllocator allocator, OpOrder.Group writeOp, Cell cell) { this(allocator, writeOp, cell.column(), cell.timestamp(), cell.ttl(), cell.localDeletionTime(), cell.value(), cell.path()); }
private Cell makeDynamicCell(Cell staticCell) { return new BufferCell(superColumnMapColumn, staticCell.timestamp(), staticCell.ttl(), staticCell.localDeletionTime(), staticCell.value(), CellPath.create(staticCell.column().name.bytes)); }
private Cell makeDynamicCell(Cell staticCell) { return new BufferCell(superColumnMapColumn, staticCell.timestamp(), staticCell.ttl(), staticCell.localDeletionTime(), staticCell.value(), CellPath.create(staticCell.column().name.bytes)); }