public final class TimerSupport extends Object
| Modifier | Constructor and Description |
|---|---|
private |
TimerSupport()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
getTimerName(Object obj)
Produce the name which should be used for a
Timer owned by the specified object. |
static String |
getTimerName(Object obj,
String additionalData)
Produce the name which should be used for a
Timer owned by the specified object. |
static String |
getTimerName(String baseName,
String additionalData)
Produce the name for a
Timer based on the specified base name. |
@Nonnull @NotEmpty public static String getTimerName(@Nonnull Object obj)
Timer owned by the specified object.
The base name will constructed as follows:
IdentifiedComponent,
use IdentifiedComponent.getId() if non-emptyObject.toString() if non-emptyobj - the target object instance to evaluate@Nonnull @NotEmpty public static String getTimerName(@Nonnull Object obj, @Nullable String additionalData)
Timer owned by the specified object.
The base name will constructed as follows:
IdentifiedComponent,
use IdentifiedComponent.getId() if non-emptyObject.toString() if non-emptyobj - the target object instance to evaluateadditionalData - additional qualifying data to include in the name@Nonnull @NotEmpty public static String getTimerName(@Nonnull String baseName, @Nullable String additionalData)
Timer based on the specified base name.baseName - the base name of TimeradditionalData - additional qualifying data to include in the nameCopyright © 1999–2018 Shibboleth Consortium. All rights reserved.