|
Berkeley DB Java Edition Examples version 4.1.21 |
|||||||
PREV NEXT | FRAMES NO FRAMES |
RouterDrivenStockQuotes
.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.UpdateForwardingStockQuotes
.StockQuotes
example.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.
|
Berkeley DB Java Edition Examples version 4.1.21 |
|||||||
PREV NEXT | FRAMES NO FRAMES |