See gh-24878
This commit is contained in:
Brian Clozel
2020-07-28 14:37:19 +02:00
parent 77137719d8
commit be801fc5fc
4 changed files with 5 additions and 7 deletions

View File

@@ -28,12 +28,10 @@ package org.springframework.core.metrics;
public interface ApplicationStartup {
/**
* Return a default "no op" {@code ApplicationStartup} implementation.
* Default "no op" {@code ApplicationStartup} implementation.
* <p>This variant is designed for minimal overhead and does not record data.
*/
static ApplicationStartup getDefault() {
return new DefaultApplicationStartup();
}
ApplicationStartup DEFAULT = new DefaultApplicationStartup();
/**
* Create a new step and marks its beginning.