public void onCounter (@Nonnull final String sName, @Nonnull final IStatisticsHandlerCounter aHandler) { if (aHandler.getInvocationCount () > 0) aTableCounter.addBodyRow ().addCells (sName, "", Integer.toString (aHandler.getInvocationCount ()), Long.toString (aHandler.getCount ())); }
public void onCache (@Nonnull final String sName, @Nonnull final IStatisticsHandlerCache aHandler) { if (aHandler.getInvocationCount () > 0) aTableCache.addBodyRow ().addCells (sName, Integer.toString (aHandler.getInvocationCount ()), Integer.toString (aHandler.getHits ()), Integer.toString (aHandler.getMisses ())); }
public void onCounter (@Nonnull final String sName, @Nonnull final IStatisticsHandlerCounter aHandler) { if (aHandler.getInvocationCount () > 0) aTableCounter.addBodyRow ().addCells (sName, "", Integer.toString (aHandler.getInvocationCount ()), Long.toString (aHandler.getCount ())); }
public void onCache (@Nonnull final String sName, @Nonnull final IStatisticsHandlerCache aHandler) { if (aHandler.getInvocationCount () > 0) aTableCache.addBodyRow ().addCells (sName, Integer.toString (aHandler.getInvocationCount ()), Integer.toString (aHandler.getHits ()), Integer.toString (aHandler.getMisses ())); }
public void onSize (@Nonnull final String sName, @Nonnull final IStatisticsHandlerSize aHandler) { if (aHandler.getInvocationCount () > 0) aTableSize.addBodyRow ().addCells (sName, "", Integer.toString (aHandler.getInvocationCount ()), Long.toString (aHandler.getMin ()), Long.toString (aHandler.getMax ()), Long.toString (aHandler.getAverage ()), aHandler.getSum ().toString ()); }
public void onKeyedCounter (@Nonnull final String sName, @Nonnull final IStatisticsHandlerKeyedCounter aHandler) { for (final String sKey : aHandler.getAllKeys ()) { final int nInvocationCount = aHandler.getInvocationCount (sKey); if (nInvocationCount > 0) aTableCounter.addBodyRow ().addCells (sName, sKey, Integer.toString (nInvocationCount), Long.toString (aHandler.getCount (sKey))); } } });
public void onKeyedCounter (@Nonnull final String sName, @Nonnull final IStatisticsHandlerKeyedCounter aHandler) { for (final String sKey : aHandler.getAllKeys ()) { final int nInvocationCount = aHandler.getInvocationCount (sKey); if (nInvocationCount > 0) aTableCounter.addBodyRow ().addCells (sName, sKey, Integer.toString (nInvocationCount), Long.toString (aHandler.getCount (sKey))); } } });
public void onTimer (@Nonnull final String sName, @Nonnull final IStatisticsHandlerTimer aHandler) { if (aHandler.getInvocationCount () > 0) aTableTimer.addBodyRow ().addCells (sName, "", Integer.toString (aHandler.getInvocationCount ()), Long.toString (aHandler.getMin ()), Long.toString (aHandler.getMax ()), Long.toString (aHandler.getAverage ()), aHandler.getSum ().toString ()); }
public void onSize (@Nonnull final String sName, @Nonnull final IStatisticsHandlerSize aHandler) { if (aHandler.getInvocationCount () > 0) aTableSize.addBodyRow ().addCells (sName, "", Integer.toString (aHandler.getInvocationCount ()), Long.toString (aHandler.getMin ()), Long.toString (aHandler.getMax ()), Long.toString (aHandler.getAverage ()), aHandler.getSum ().toString ()); }
public void onTimer (@Nonnull final String sName, @Nonnull final IStatisticsHandlerTimer aHandler) { if (aHandler.getInvocationCount () > 0) aTableTimer.addBodyRow ().addCells (sName, "", Integer.toString (aHandler.getInvocationCount ()), Long.toString (aHandler.getMin ()), Long.toString (aHandler.getMax ()), Long.toString (aHandler.getAverage ()), aHandler.getSum ().toString ()); }
public void onKeyedTimer (@Nonnull final String sName, @Nonnull final IStatisticsHandlerKeyedTimer aHandler) { for (final String sKey : aHandler.getAllKeys ()) { final int nInvocationCount = aHandler.getInvocationCount (sKey); if (nInvocationCount > 0) aTableTimer.addBodyRow ().addCells (sName, sKey, Integer.toString (nInvocationCount), Long.toString (aHandler.getMin (sKey)), Long.toString (aHandler.getMax (sKey)), Long.toString (aHandler.getAverage (sKey)), aHandler.getSum (sKey).toString ()); } }
public void onKeyedTimer (@Nonnull final String sName, @Nonnull final IStatisticsHandlerKeyedTimer aHandler) { for (final String sKey : aHandler.getAllKeys ()) { final int nInvocationCount = aHandler.getInvocationCount (sKey); if (nInvocationCount > 0) aTableTimer.addBodyRow ().addCells (sName, sKey, Integer.toString (nInvocationCount), Long.toString (aHandler.getMin (sKey)), Long.toString (aHandler.getMax (sKey)), Long.toString (aHandler.getAverage (sKey)), aHandler.getSum (sKey).toString ()); } }
public void onKeyedSize (@Nonnull final String sName, @Nonnull final IStatisticsHandlerKeyedSize aHandler) { for (final String sKey : aHandler.getAllKeys ()) { final int nInvocationCount = aHandler.getInvocationCount (sKey); if (nInvocationCount > 0) aTableSize.addBodyRow ().addCells (sName, sKey, Integer.toString (nInvocationCount), Long.toString (aHandler.getMin (sKey)), Long.toString (aHandler.getMax (sKey)), Long.toString (aHandler.getAverage (sKey)), aHandler.getSum (sKey).toString ()); } }
public void onKeyedSize (@Nonnull final String sName, @Nonnull final IStatisticsHandlerKeyedSize aHandler) { for (final String sKey : aHandler.getAllKeys ()) { final int nInvocationCount = aHandler.getInvocationCount (sKey); if (nInvocationCount > 0) aTableSize.addBodyRow ().addCells (sName, sKey, Integer.toString (nInvocationCount), Long.toString (aHandler.getMin (sKey)), Long.toString (aHandler.getMax (sKey)), Long.toString (aHandler.getAverage (sKey)), aHandler.getSum (sKey).toString ()); } }
for (final Map.Entry <String, IAjaxFunctionDeclaration> aEntry : aMgr.getAllRegisteredFunctions ().entrySet ()) aTable.addBodyRow ().addCells (aEntry.getKey (), aEntry.getValue ().getExecutorFactory ().toString (), aEntry.getValue ().getInvocationURI (aRequestScope)); new DTCol (EText.MSG_CALLBACK.getDisplayText (aDisplayLocale))).setID (getID () + "-ajax-cb"); for (final IAjaxExceptionCallback aCB : AjaxSettings.exceptionCallbacks ().getAllCallbacks ()) aTable.addBodyRow ().addCells ("Exception", aCB.toString ()); for (final IAjaxBeforeExecutionCallback aCB : AjaxSettings.beforeExecutionCallbacks ().getAllCallbacks ()) aTable.addBodyRow ().addCells ("BeforeExecution", aCB.toString ()); for (final IAjaxAfterExecutionCallback aCB : AjaxSettings.afterExecutionCallbacks ().getAllCallbacks ()) aTable.addBodyRow ().addCells ("AfterExecution", aCB.toString ()); for (final IAjaxLongRunningExecutionCallback aCB : AjaxSettings.longRunningExecutionCallbacks () .getAllCallbacks ()) aTable.addBodyRow ().addCells ("LongRunningExecution", aCB.toString ());
for (final Map.Entry <String, IAjaxFunctionDeclaration> aEntry : aMgr.getAllRegisteredFunctions ().entrySet ()) aTable.addBodyRow ().addCells (aEntry.getKey (), aEntry.getValue ().getExecutorFactory ().toString (), aEntry.getValue ().getInvocationURI (aRequestScope)); new DTCol (EText.MSG_CALLBACK.getDisplayText (aDisplayLocale))).setID (getID () + "-ajax-cb"); for (final IAjaxExceptionCallback aCB : AjaxSettings.exceptionCallbacks ().getAllCallbacks ()) aTable.addBodyRow ().addCells ("Exception", aCB.toString ()); for (final IAjaxBeforeExecutionCallback aCB : AjaxSettings.beforeExecutionCallbacks ().getAllCallbacks ()) aTable.addBodyRow ().addCells ("BeforeExecution", aCB.toString ()); for (final IAjaxAfterExecutionCallback aCB : AjaxSettings.afterExecutionCallbacks ().getAllCallbacks ()) aTable.addBodyRow ().addCells ("AfterExecution", aCB.toString ()); for (final IAjaxLongRunningExecutionCallback aCB : AjaxSettings.longRunningExecutionCallbacks () .getAllCallbacks ()) aTable.addBodyRow ().addCells ("LongRunningExecution", aCB.toString ());
for (final IAPIDescriptor aDescriptor : aMgr.getAllAPIDescriptors ()) aTable.addBodyRow ().addCells (aDescriptor.getPathDescriptor ().getAsURLString (), aDescriptor.getExecutorFactory ().toString ()); new DTCol (EText.MSG_CALLBACK.getDisplayText (aDisplayLocale))).setID (getID () + "-api-cb"); for (final IAPIExceptionCallback aCB : APISettings.exceptionCallbacks ().getAllCallbacks ()) aTable.addBodyRow ().addCells ("Exception", aCB.toString ()); for (final IAPIBeforeExecutionCallback aCB : APISettings.beforeExecutionCallbacks ().getAllCallbacks ()) aTable.addBodyRow ().addCells ("BeforeExecution", aCB.toString ()); for (final IAPIAfterExecutionCallback aCB : APISettings.afterExecutionCallbacks ().getAllCallbacks ()) aTable.addBodyRow ().addCells ("AfterExecution", aCB.toString ()); for (final IAPILongRunningExecutionCallback aCB : APISettings.longRunningExecutionCallbacks ().getAllCallbacks ()) aTable.addBodyRow ().addCells ("LongRunningExecution", aCB.toString ()); aTab.addChild (aTable);
for (final IAPIDescriptor aDescriptor : aMgr.getAllAPIDescriptors ()) aTable.addBodyRow ().addCells (aDescriptor.getPathDescriptor ().getAsURLString (), aDescriptor.getExecutorFactory ().toString ()); new DTCol (EText.MSG_CALLBACK.getDisplayText (aDisplayLocale))).setID (getID () + "-api-cb"); for (final IAPIExceptionCallback aCB : APISettings.exceptionCallbacks ().getAllCallbacks ()) aTable.addBodyRow ().addCells ("Exception", aCB.toString ()); for (final IAPIBeforeExecutionCallback aCB : APISettings.beforeExecutionCallbacks ().getAllCallbacks ()) aTable.addBodyRow ().addCells ("BeforeExecution", aCB.toString ()); for (final IAPIAfterExecutionCallback aCB : APISettings.afterExecutionCallbacks ().getAllCallbacks ()) aTable.addBodyRow ().addCells ("AfterExecution", aCB.toString ()); for (final IAPILongRunningExecutionCallback aCB : APISettings.longRunningExecutionCallbacks ().getAllCallbacks ()) aTable.addBodyRow ().addCells ("LongRunningExecution", aCB.toString ()); aTab.addChild (aTable);
new DTCol (EText.MSG_VALUE.getDisplayText (aDisplayLocale))).setID (aSelectedObject.getID ()); for (final Map.Entry <String, String> aEntry : aAttrs.entrySet ()) aCustomAttrTable.addBodyRow ().addCells (aEntry.getKey (), aEntry.getValue ());
new DTCol (EText.MSG_VALUE.getDisplayText (aDisplayLocale))).setID (aSelectedObject.getID ()); for (final Map.Entry <String, String> aEntry : aAttrs.entrySet ()) aCustomAttrTable.addBodyRow ().addCells (aEntry.getKey (), aEntry.getValue ());