@Override public void run() { SLF4JLoggerProxy.warn(SystemMonitor.this, "System monitor over threshold: {}", currentStats); } };
@Override public void run() { // TODO message SLF4JLoggerProxy.info(STARTUP_CATEGORY, "Shutting down"); try { killProcesses(); } catch (InterruptedException ignored) {} } });
@Override public void onCreate(SessionID inSessionId) { SLF4JLoggerProxy.debug(ExsimFeedModule.this, "Session {} created", //$NON-NLS-1$ inSessionId); } /* (non-Javadoc)
/** * Create a new InternalID object with the given string representation of a unique * id. * @param internalID The string representation of the id to back this object */ public InternalID(String internalID) { if (internalID == null) throw new IllegalArgumentException(Messages.ERROR_NULL_ID.getText()); mID = internalID; } /**
public void run() { try { executeTick(); } catch (Exception e) { SIMULATED_EXCHANGE_TICK_ERROR.warn(SimulatedExchange.class, e, getName()); } } },
@Override public void run() { try { Messages.THREAD_POOL_MONITOR.info(ThreadPoolMonitor.this, name, executor.getActiveCount(), executor.getMaximumPoolSize(), executor.getLargestPoolSize(), executor.getCompletedTaskCount(), executor.getPoolSize(), executor.getTaskCount()); } catch (Exception e) { SLF4JLoggerProxy.warn(ThreadPoolMonitor.this, e); } } },monitorInterval,monitorInterval,TimeUnit.MILLISECONDS);
@Override public void run() { SLF4JLoggerProxy.trace(SystemMonitor.this, "System monitor under threshold: {}", currentStats); } };
/** * Create a new CompilationFailed instance. * * @param inStrategy a <code>Strategy</code> value */ public CompilationFailed(Strategy inStrategy) { super(new I18NBoundMessage2P(COMPILATION_FAILED, inStrategy.toString(), "")); //$NON-NLS-1$ } /**
@Override public void onLogout(SessionID inSessionId) { SLF4JLoggerProxy.debug(ExsimFeedModule.this, "Session {} logout", //$NON-NLS-1$ inSessionId); updateFeedStatus(FeedStatus.OFFLINE); } /* (non-Javadoc)
@Override public void add(ReportBase inReport) { throw new UnsupportedOperationException(org.marketcetera.client.Messages.DONT_ADD_REPORTS.getText()); } /* (non-Javadoc)
@Override public void onErrorEvent(String inMessage) { SLF4JLoggerProxy.warn(EventLog.class, inMessage); } private void writeTimeStamp(OutputStream out) throws IOException {
@Override public void toAdmin(Message inMessage, SessionID inSessionId) { SLF4JLoggerProxy.trace(ExsimFeedModule.this, "{} sending admin {}", //$NON-NLS-1$ inSessionId, inMessage); } /* (non-Javadoc)
@Override public void publishTo(Object inData) { SLF4JLoggerProxy.info(CATEGORY, inData.toString()); } }
@Override public void onLogon(SessionID inSessionId) { SLF4JLoggerProxy.debug(ExsimFeedModule.this, "Session {} logon", //$NON-NLS-1$ inSessionId); updateFeedStatus(FeedStatus.AVAILABLE); } /* (non-Javadoc)
@Override public void run() { try { evaluate(); } catch (Exception e) { SLF4JLoggerProxy.warn(SystemInformationLogger.this, e); } } },pollingInterval,pollingInterval,TimeUnit.MILLISECONDS);
@Override public void fromAdmin(Message inMessage, SessionID inSessionId) throws FieldNotFound, IncorrectDataFormat, IncorrectTagValue, RejectLogon { SLF4JLoggerProxy.trace(ExsimFeedModule.this, "{} received admin {}", //$NON-NLS-1$ inSessionId, inMessage); } /* (non-Javadoc)
@Override public void receiveExecutionReport(ExecutionReport inReport) { SLF4JLoggerProxy.debug(this, "Emitting Report {}", //$NON-NLS-1$ inReport); mSupport.send(inReport); }
@Override public void receiveExecutionReport(ExecutionReport inReport) { SLF4JLoggerProxy.debug(LiveOrderHistoryManager.class, "Received {}", //$NON-NLS-1$ inReport); if(inReport != null) { super.add(inReport); } } /* (non-Javadoc)
@Override public void receiveCancelReject(OrderCancelReject inReport) { SLF4JLoggerProxy.debug(LiveOrderHistoryManager.class, "Received {}", //$NON-NLS-1$ inReport); if(inReport != null) { super.add(inReport); } } /* (non-Javadoc)