Package | Class | Tree | Deprecated | Index | Help
| Berkeley DB Java Edition Examples version 4.0.103
PREV NEXT | FRAMES NO FRAMES

D H J M O Q R S U

## D

doTransactionWork(Transaction) - Method in class je.rep.quote.RunTransaction
  Must be implemented to perform operations using the given Transaction.

## H

HARouter - Class in je.rep.quote
  This example illustrates use of an HA aware Router used to forward high level requests to replication nodes implemented by `RouterDrivenStockQuotes`.

## J

je.rep.quote - package je.rep.quote
  JE Replication Stock Quote example.

## M

main(String[]) - Static method in class je.rep.quote.HARouter
main(String[]) - Static method in class je.rep.quote.RouterDrivenStockQuotes
main(String[]) - Static method in class je.rep.quote.SimpleRouter
main(String[]) - Static method in class je.rep.quote.StockQuotes
main(String[]) - Static method in class je.rep.quote.StockQuotesRMIForwarding
main(String[]) - Static method in class je.rep.quote.UpdateForwardingStockQuotes

## O

onReplicaWrite(ReplicaWriteException) - Method in class je.rep.quote.RunTransaction
  May be optionally overridden to handle a ReplicaWriteException.
onRetryFailure(OperationFailureException) - Method in class je.rep.quote.RunTransaction
  May be optionally overridden to handle a failure after the TRANSACTION_RETRY_MAX has been exceeded.

## Q

quit(PrintStream) - Method in class je.rep.quote.StockQuotes
  Implements the "quit" command.
quit(PrintStream) - Method in class je.rep.quote.StockQuotesRMIForwarding
  Performs the RMI associated cleanup so that the RMI serve can be shutdown cleanly.

## R

RMI_NAME - Static variable in class je.rep.quote.StockQuotesRMIForwarding
RouterDrivenStockQuotes - Class in je.rep.quote
  This class is based on `StockQuotes` and illustrates use of an HA-aware router (implemented by `HARouter`), in conjunction with the `Monitor` class, to direct application requests, based upon the type of request (read or write) and the state (Master or Replica) of a node in the replication group.
run(boolean) - Method in class je.rep.quote.RunTransaction
  Runs a transaction, calls the doTransactionWork method, and retries as needed.
RunTransaction - Class in je.rep.quote
  Utility class to begin and commit/abort a transaction and handle exceptions according to this application's policies.

## S

SimpleRouter - Class in je.rep.quote
  This example illustrates the use of a simple HA-unaware router that is used in conjunction with `UpdateForwardingStockQuotes`.
StockQuotes - Class in je.rep.quote
  The most basic demonstration of a replicated application.
StockQuotesRMIForwarding - Class in je.rep.quote
  This example is a small variation on the basic `StockQuotes` example.
StockQuotesRMIForwarding.WriteServices - Interface in je.rep.quote
StockQuotesRMIForwarding.WriteServicesImpl - Class in je.rep.quote
  The class supplies the RMI implementation of the write methods.
StockQuotesRMIForwarding.WriteServicesImpl(PrintStream) - Constructor for class je.rep.quote.StockQuotesRMIForwarding.WriteServicesImpl

## U

update(Quote) - Method in interface je.rep.quote.StockQuotesRMIForwarding.WriteServices
  The "write" operation which will update the price associated with the Stock.
update(Quote) - Method in class je.rep.quote.StockQuotesRMIForwarding.WriteServicesImpl
  The update operation invoked by a Replica on this Master.
UpdateForwardingStockQuotes - Class in je.rep.quote
  This class is based on `RouterDrivenStockQuotes` and illustrates use of an HA unaware router (implemented by `SimpleRouter`), that load balances requests (both read and write) across all the nodes in a replication group.

D H J M O Q R S U

Package | Class | Tree | Deprecated | Index | Help
| Berkeley DB Java Edition Examples version 4.0.103
PREV NEXT | FRAMES NO FRAMES

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