Lines Matching defs:log
104 import sun.rmi.log.LogHandler;
105 import sun.rmi.log.ReliableLog;
164 /** reliable log to hold descriptor table */
165 private transient ReliableLog log;
204 * populated with log data. This is only called when the initial
210 * Recover activation state from the reliable log and initialize
219 ReliableLog log = new ReliableLog(logName, new ActLogHandler());
220 Activation state = (Activation) log.recover();
221 state.init(port, ssf, log, childArgs);
230 ReliableLog log,
235 this.log = log;
512 // table insertion must take place before log update
668 * Close log file, fix for 4243264: rmid shutdown thread
670 * the log file is only closed when it is impossible for
672 * We close the log when all objects in the rmid VM are
676 synchronized (log) {
677 log.close();
789 * WARNING: GroupEntry objects should not be written into log file
792 * complete Activation system is written out as a log update, the
911 // table insertion must take place before log update
929 // table removal must take place before log update
954 // removal should be recorded before log update
974 // restart information should be recorded before log update
997 // state update should occur before log update
1470 * Add a record to the activation log. If the number of updates
1474 synchronized (log) {
1477 log.update(rec, true);
1480 System.err.println(getTextResource("rmid.log.update.warning"));
1487 log.snapshot(this);
1491 getTextResource("rmid.log.snapshot.warning"));
1500 throw new ActivationException("log snapshot failed", e);
1506 * Handler for the log that knows how to take the initial snapshot
1532 * Abstract class for all log records. The subclass contains
1564 getTextResource("rmid.log.recover.warning"),
1591 getTextResource("rmid.log.recover.warning"),
1644 getTextResource("rmid.log.recover.warning"),
1673 getTextResource("rmid.log.recover.warning"),
1700 getTextResource("rmid.log.recover.warning"),
1729 getTextResource("rmid.log.recover.warning"),
1907 * The usage is as follows: rmid [-port num] [-log dir].
1963 String log = null;
1984 } else if (args[i].equals("-log")) {
1986 log = args[++i];
1988 bomb(getTextResource("rmid.syntax.log.missing"));
2004 if (log == null) {
2006 bomb(getTextResource("rmid.syntax.log.required"));
2008 log = "log";
2072 * log file is found, the ActLogHandler.recover(...)
2075 * instance of activation will be read from the log's
2081 startActivation(port, ssf, log,
2369 * @param out output stream to which log messages will be sent
2478 /* construct prefix for log messages:
2494 * @param out output stream to which log messages will be sent
2496 * @param out1 output stream to which log messages will be sent