public class StockQuotesRMIForwarding.WriteServicesImpl extends java.lang.Object implements StockQuotesRMIForwarding.WriteServices
| Constructor and Description |
|---|
WriteServicesImpl(java.io.PrintStream printStream) |
| Modifier and Type | Method and Description |
|---|---|
void |
update(je.rep.quote.Quote quote)
The update operation invoked by a Replica on this Master.
|
public void update(je.rep.quote.Quote quote)
throws java.rmi.RemoteException
Note that this method is executed in an RMI thread and does not
handle the environment failure level exceptions:
InsufficientLogException and
RollbackException exception in order to keep the
example simple. Production code would handle the exception here and
coordinate with the main thread of control and other RMI threads to
take corrective actions and re-estabblish the environment and
database handles.
update in interface StockQuotesRMIForwarding.WriteServicesjava.rmi.RemoteExceptionCopyright (c) 2002, 2017 Oracle and/or its affiliates. All rights reserved.