Berkeley DB Java Edition
version 5.0.34

Uses of Class
com.sleepycat.je.EnvironmentFailureException

Packages that use EnvironmentFailureException
com.sleepycat.je Foundation for creating environments, databases and transactions; provides cursor based data access. 
com.sleepycat.je.rep
Berkeley DB Java Edition High Availability (JE HA) enables replication of JE environments. 
com.sleepycat.je.rep.monitor BDB JE HA support for applications that need to track the composition of a replication group, in order to do tasks such as load balancing and request routing. 
com.sleepycat.je.rep.util BDB JE High Availability command line utilities and helper classes. 
 

Uses of EnvironmentFailureException in com.sleepycat.je
 

Subclasses of EnvironmentFailureException in com.sleepycat.je
 class EnvironmentLockedException
          Thrown by the Environment constructor when an environment cannot be opened for write access because another process has the same environment open for write access.
 class EnvironmentNotFoundException
          Thrown by the Environment constructor when EnvironmentConfig AllowCreate property is false (environment creation is not permitted), but there are no log files in the environment directory.
 class LogWriteException
          Thrown when an IOException or other failure occurs when writing to the JE log.
 class ThreadInterruptedException
          Thrown when java.lang.InterruptedException (a thread interrupt) or java.nio.channels.ClosedChannelException (which also results from a thread interrupt) occurs in any JE method.
 class VersionMismatchException
          Thrown by the Environment constructor when an environment cannot be opened because the version of the existing log is not compatible with the version of JE that is running.
 

Methods in com.sleepycat.je that throw EnvironmentFailureException
 long Transaction.getLockTimeout(TimeUnit unit)
          Returns the lock request timeout value for the transaction.
 long Transaction.getTxnTimeout(TimeUnit unit)
          Returns the timeout value for the transaction lifetime.
 

Uses of EnvironmentFailureException in com.sleepycat.je.rep
 

Subclasses of EnvironmentFailureException in com.sleepycat.je.rep
 class GroupShutdownException
          Thrown when an attempt is made to access an environment that was shutdown by the Master as a result of a call to ReplicatedEnvironment.shutdownGroup(long, TimeUnit).
 class InsufficientLogException
          This exception indicates that the log files constituting the Environment are insufficient and cannot be used as the basis for continuing with the replication stream provided by the current master.
 class MasterReplicaTransitionException
          MasterReplicaTransitionException is thrown in JE replication systems when this environment is a master and must transition to replica state.
 class RestartRequiredException
          RestartRequiredException serves as the base class for all exceptions which makes it impossible for HA to proceed without some form of corrective action on the part of the user, followed by a restart of the application.
 class RollbackException
          This asynchronous exception indicates that a new master has been selected, this Replica's log is ahead of the current Master, and in this case, the Replica was unable to rollback without a recovery.
 class RollbackProhibitedException
          This exception may be thrown by a Replica during the replication stream sync-up phase of startup.
 

Methods in com.sleepycat.je.rep that throw EnvironmentFailureException
 void NetworkRestore.execute(InsufficientLogException logException, NetworkRestoreConfig config)
          Restores the log files from one of the members of the replication group.
 

Uses of EnvironmentFailureException in com.sleepycat.je.rep.monitor
 

Methods in com.sleepycat.je.rep.monitor that throw EnvironmentFailureException
 ReplicationNode Monitor.register()
          Registers the monitor with the group so that it can be kept informed of the outcome of elections and group membership changes.
 

Uses of EnvironmentFailureException in com.sleepycat.je.rep.util
 

Methods in com.sleepycat.je.rep.util that throw EnvironmentFailureException
 ReplicationGroup ReplicationGroupAdmin.getGroup()
          Returns the current composition of the group from the Master.
 String ReplicationGroupAdmin.getMasterNodeName()
          Returns the node name associated with the master
 void ReplicationGroupAdmin.removeMember(String nodeName)
          Removes this node from the group, so that it is no longer a member of the group.
 void ReplicationGroupAdmin.updateAddress(String nodeName, String newHostName, int newPort)
          Update the network address for a specified member of the replication group.
 


Berkeley DB Java Edition
version 5.0.34

Copyright (c) 2004-2011 Oracle. All rights reserved.