Uses of Annotation Type
com.igormaznitsa.meta.annotation.Weight
Packages that use Weight
Package
Description
-
Uses of Weight in com.igormaznitsa.meta.common.exceptions
Classes in com.igormaznitsa.meta.common.exceptions with annotations of type WeightModifier and TypeClassDescriptionfinal classService containing all error listeners for the common module methods and providing their notifications.Methods in com.igormaznitsa.meta.common.exceptions with annotations of type Weight -
Uses of Weight in com.igormaznitsa.meta.common.interfaces
Classes in com.igormaznitsa.meta.common.interfaces with annotations of type WeightModifier and TypeInterfaceDescriptioninterfaceAuxiliary interface describing disposable object. -
Uses of Weight in com.igormaznitsa.meta.common.utils
Classes in com.igormaznitsa.meta.common.utils with annotations of type WeightModifier and TypeClassDescriptionfinal classSet of auxiliary methods for assertion.classThe Class allows to save stack trace history (it is possible to keep it in packed format) and restore it to text representation for request.static classClass wrapping executeDeferred method and stack depth for action.final classAuxiliary methods to get values.static interfaceInterface for any object to be informed about time alerts.Methods in com.igormaznitsa.meta.common.utils with annotations of type WeightModifier and TypeMethodDescriptionstatic voidAdd a time watcher.static voidTimeGuard.addGuard(String alertMessage, long maxAllowedDelayInMilliseconds, TimeGuard.TimeAlertListener timeAlertListener) Add a time watcher and provide processor of time violation.static voidTimeGuard.addPoint(String timePointName, TimeGuard.TimeAlertListener listener) Add a named time point.static voidTimeGuard.cancel()Cancel all time watchers and time points for the current stack level.static voidTimeGuard.cancelAll()Cancel all time watchers and time points globally for the current thread.static voidDeferrers.cancelAllDeferredActionsGlobally()Cancel all defer actions globally.static voidDeferrers.cancelDeferredActions()Cancel all defer actions for the current stack depth.static voidTimeGuard.check()Check all registered time watchers for time bound violations.static voidTimeGuard.checkPoint(String timePointName) Check named time point(s).static voidTimeGuard.checkPoints()Process all time points for the current stack level.static CloseableIOUtils.closeQuetly(Closeable closeable) Closing quetly any closeable object.static DisposableDeferrers.defer(Disposable disposable) Defer execution of some disposable object.static Deferrers.DeferredDeferrers.defer(Deferrers.Deferred deferred) Defer some action.static RunnableDefer execution of some runnable action.static <T extends Closeable>
TDeferrers.defer(T closeable) Defer closing of an closeable object.static <T> TDeferrers.deferredClose(T closeable) Defer object containing public close() method.static booleanDeferrers.isEmpty()Check that presented defer actions for the current thread.static booleanTimeGuard.isEmpty()Check that the thread local for the current thread contains time points or watchers.static <T> T[]ArrayUtils.joinArrays(T[]... arrays) Join arrays provided as parameters, all arrays must be the same type, null values allowed.static byte[]IOUtils.packData(byte[] data) Pack some binary data.static voidDeferrers.processDeferredActions()Process all defer actions for the current stack depth level.static booleanThreadUtils.silentSleep(long milliseconds) Just suspend the current thread for defined interval in milliseconds.static intThreadUtils.stackDepth()Get the stack call depth for the caller.static StackTraceElementThreadUtils.stackElement()Get the stack element of the method caller.static byte[]IOUtils.unpackData(byte[] data) Unpack binary data packed by the packData method.Constructors in com.igormaznitsa.meta.common.utils with annotations of type WeightModifierConstructorDescriptionThe Constructor allows to create call trace history with defined end-of-line symbol and since needed stack item position.Deferred()The Constructor.TimeData(int stackDepth, String alertMessage, long maxAllowedDelayInMilliseconds, TimeGuard.TimeAlertListener violationListener) The Constructor