Examples of operationEnd()


Examples of com.sleepycat.je.txn.BasicLocker.operationEnd()

            if (clearTarget) {
                bin.updateEntry(index, null);
            }

            if (locker != null) {
                locker.operationEnd();
            }

            trace(detailedTraceLevel, cleanAction, ln, lsn,
                  completed, obsolete, migrated);
        }
View Full Code Here

Examples of com.sleepycat.je.txn.HandleLocker.operationEnd()

             * or invalidate(), the latter in the case of a user txn abort.
             */
            if (!operationOk) {
                envImpl.getDbTree().releaseDb(database);
                if (handleLocker != null) {
                    handleLocker.operationEnd(false);
                }
            }

            /*
             * Tell the locker that this operation is over. Some types of
View Full Code Here

Examples of com.sleepycat.je.txn.Locker.operationEnd()

                     databaseImpl.isReplicated()); // autoTxnIsReplicated
                commitStatus = deleteInternal(locker, key, null);
                return commitStatus;
            } finally {
                if (locker != null) {
                    locker.operationEnd(commitStatus);
                }
            }
        } catch (Error E) {
            DbInternal.getEnvironmentImpl(envHandle).invalidate(E);
            throw E;
View Full Code Here

Examples of com.sleepycat.je.txn.Locker.operationEnd()

                if (cursor != null) {
                    cursor.close();
                }

                if (locker != null) {
                    locker.operationEnd(commitStatus);
                }
            }
        } catch (Error E) {
            DbInternal.getEnvironmentImpl(envHandle).invalidate(E);
            throw E;
View Full Code Here

Examples of com.sleepycat.je.txn.Locker.operationEnd()

                if (cursor != null) {
                    cursor.close();
                }

                if (locker != null) {
                    locker.operationEnd(commitStatus);
                }
            }
        } catch (Error E) {
            DbInternal.getEnvironmentImpl(envHandle).invalidate(E);
            throw E;
View Full Code Here

Examples of com.sleepycat.je.txn.Locker.operationEnd()

            } finally {
                if (cursor != null) {
                    cursor.close();
                }
                if (locker != null) {
                    locker.operationEnd(commitStatus);
                }
            }
        } catch (Error E) {
            DbInternal.getEnvironmentImpl(envHandle).invalidate(E);
            throw E;
View Full Code Here

Examples of com.sleepycat.je.txn.Locker.operationEnd()

            /*
             * Tell the locker that this operation is over. Some types of
             * lockers (BasicLocker and auto Txn) will actually finish.
             */
            locker.operationEnd(operationOk);
        }
    }

    /**
     * @throws IllegalArgumentException via openDatabase and
View Full Code Here

Examples of com.sleepycat.je.txn.Locker.operationEnd()

        } finally {
            if (dbImpl != null) {
                TriggerManager.runRemoveTriggers(locker, dbImpl);
            }
            if (locker != null) {
                locker.operationEnd(dbImpl != null);
            }
        }
    }

    /**
 
View Full Code Here

Examples of com.sleepycat.je.txn.Locker.operationEnd()

        } finally {
            if (dbImpl != null) {
                TriggerManager.runRenameTriggers(locker, dbImpl, newName);
            }
            if (locker != null) {
                locker.operationEnd(dbImpl != null);
            }
        }
    }

    /**
 
View Full Code Here

Examples of com.sleepycat.je.txn.Locker.operationEnd()

        } finally {
            if (result != null) {
                TriggerManager.runTruncateTriggers(locker, result.newDb);
            }
            if (locker != null) {
                locker.operationEnd(result != null);
            }
        }

        if (result == null) {
            /* Added to suppress compiler warnings. */
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.