final GeoWaveFeatureSource source )
throws IOException {
synchronized (transaction) {
GeoWaveTransactionState state = null;
if (transaction == Transaction.AUTO_COMMIT) {
state = new GeoWaveAutoCommitTransactionState(
source);
}
else {
state = (GeoWaveTransactionState) transaction.getState(this);
if (state == null) {