public static AerospikeReadData forRead(Key key, Record record) { Assert.notNull(key, "Key must not be null"); Assert.notNull(record, "Record must not be null"); Assert.notNull(record.bins, "Record bins must not be null"); return new AerospikeReadData(key, record.bins, record.getTimeToLive()); }