Package com.sleepycat.je

Examples of com.sleepycat.je.RunRecoveryException


             * interrupts is uncertain. See SR [#10463].
             *
             * One way or another, this type of io exception leaves us in an
             * unworkable state, so throw a run recovery exception.
             */
            throw new RunRecoveryException(envImpl, e);
        } catch (IOException e) {

            /*
             * Other IOExceptions, such as out of disk conditions, should
             * notify the application but leave the environment in workable
View Full Code Here


            /*
             * The channel should never be closed. It may be closed because
             * of an interrupt received by another thread. See SR [#10463]
             */
            throw new RunRecoveryException(envImpl,
                                           "Channel closed, may be "+
                                           "due to thread interrupt",
                                           e);
        } catch (Exception e) {
            throw new DatabaseException(e);
View Full Code Here

    }
      }

            assert noteLatch(); // intentional side effect;
  } catch (InterruptedException e) {
      throw new RunRecoveryException(env, e);
  } finally {
      assert EnvironmentImpl.maybeForceYield();
  }
    }
View Full Code Here

                }
            }
            owner.nAcquires += 1;
            assert (noteLatch ? noteLatch() : true); // intentional side effect
  } catch (InterruptedException e) {
      throw new RunRecoveryException(env, e);
  } finally {
      assert EnvironmentImpl.maybeForceYield();
  }
    }
View Full Code Here

            }
            owner.nAcquires += 1;
            stats.nAcquireSharedSuccessful++;
            assert (noteLatch ? noteLatch() : true); // intentional side effect
  } catch (InterruptedException e) {
      throw new RunRecoveryException(env, e);
  } finally {
      assert EnvironmentImpl.maybeForceYield();
  }
    }
View Full Code Here

                /*
                 * If we can't get a write channel, we need to go into
                 * RunRecovery state.
                 */
                throw new RunRecoveryException(envImpl, e);
            }
        }
View Full Code Here

                    /*
                     * The channel should never be closed. It may be closed
                     * because of an interrupt received by another thread. See
                     * SR [#10463]
                     */
                    throw new RunRecoveryException
      (envImpl,
       "Channel closed, may be due to thread interrupt",
       e);
                }
           
View Full Code Here

                while (true) {

                    try {
                        wait(fsyncTimeout);
                    } catch (InterruptedException e) {
                        throw new RunRecoveryException(envImpl,
                           "Unexpected interrupt while waiting for fsync", e);
                    }

                    /*
                     * This thread was awoken either by a timeout, by a notify,
View Full Code Here

    }
      }

            assert noteLatch(); // intentional side effect;
  } catch (InterruptedException e) {
      throw new RunRecoveryException(env, e);
  } finally {
      assert EnvironmentImpl.maybeForceYield();
  }
    }
View Full Code Here

             * interrupts is uncertain. See SR [#10463].
             *
             * One way or another, this type of io exception leaves us in an
             * unworkable state, so throw a run recovery exception.
             */
            throw new RunRecoveryException(envImpl, e);
        } catch (IOException e) {

            /*
             * Other IOExceptions, such as out of disk conditions, should
             * notify the application but leave the environment in workable
View Full Code Here

TOP

Related Classes of com.sleepycat.je.RunRecoveryException

Copyright © 2018 www.massapicom. 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.