final State state = mState;
Preconditions.checkState(state != State.CLOSED,
"Cannot update an AtomicKijiPutter instance in state %s.", state);
mLayoutChanged = true;
// Update the state of the writer.
final CellEncoderProvider provider = new CellEncoderProvider(
mTable.getURI(),
layout,
mTable.getKiji().getSchemaTable(),
DefaultKijiCellEncoderFactory.get());
// If the layout is null this is the initial setup and we do not need a log message.