
public interface OFreezableStorageComponent
| Modifier and Type | Method and Description |
|---|---|
void |
freeze(boolean throwException)
After this method finished it's execution, all threads that are going to perform data
modifications in storage should wait till
release() method will be called. |
void |
release()
After this method finished execution all threads that are waiting to perform data modifications
in storage will be awaken and will be allowed to continue their execution.
|
void freeze(boolean throwException)
release() method will be called. This method
will wait till all ongoing modifications will be finished.throwException - If true OModificationOperationProhibitedException
exception will be thrown on call of methods that requires storage modification. Otherwise
other threads will wait for release() method call.void release()
Copyright © 2009–2025 OrientDB. All rights reserved.