408409410411412413414415416417418
{ if ( !storeOk ) { if ( readOnly && !backupSlave ) { throw new ReadOnlyDbException(); } rebuildIdGenerator(); storeOk = true; causeOfStoreNotOk = null; }
420421422423424425426427428
public void rebuildIdGenerators() { if ( readOnly && !backupSlave ) { throw new ReadOnlyDbException(); } rebuildIdGenerator(); }
32333435363738
} @Override public T acquireResourceConnection() { throw new ReadOnlyDbException(); }
44454647484950
} @Override protected T newConnection() { throw new ReadOnlyDbException(); }
259260261262263264265266267268269
*/ protected void rebuildIdGenerator() { if ( isReadOnly() && !isBackupSlave() ) { throw new ReadOnlyDbException(); } logger.fine( "Rebuilding id generator for[" + getStorageFileName() + "] ..." ); closeIdGenerator();
this.highId = highId; } public long nextId() { throw new ReadOnlyDbException(); }
37383940414243
throw new ReadOnlyDbException(); } public IdRange nextIdBatch( int size ) { throw new ReadOnlyDbException(); }
42434445464748
throw new ReadOnlyDbException(); } public void setHighId( long id ) { throw new ReadOnlyDbException(); }
52535455565758
return highId; } public void freeId( long id ) { throw new ReadOnlyDbException(); }
919293949596979899
public ResourceConnection createResourceConnection() { if ( xaDs.isReadOnly() ) { throw new ReadOnlyDbException(); } return new NioNeoDbResourceConnection( this.xaDs ); }