public interface Layer1ApiTimeSource
Layer1ApiAdminProvider.getCurrentTime()
. See
Layer1ApiRelay.getTimeSource()
to understand the mechanism. In short:
even if layer implemented Layer1ApiAdminProvider.getCurrentTime()
it can
still allow a shortcut by implementing this interface.Modifier and Type | Interface and Description |
---|---|
static interface |
Layer1ApiTimeSource.Layer1TimeSourceShortcutAllowed
Mark
Layer1ApiAdminProvider.getCurrentTime() implementation with this to
confirm you are supporting the shortcut |
Modifier and Type | Method and Description |
---|---|
Layer1ApiProvider |
getTimeSource() |
static Layer1ApiProvider |
getTimeSource(Layer1ApiProvider provider) |
Layer1ApiProvider getTimeSource()
static Layer1ApiProvider getTimeSource(Layer1ApiProvider provider)