Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
spring-boot-admin
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openSource
spring-boot-admin
Commits
813aae08
Commit
813aae08
authored
Nov 07, 2016
by
Johannes Edmeier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make StatusUpdater easier to extend
closes #321
parent
0909ade4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
StatusUpdater.java
...ava/de/codecentric/boot/admin/registry/StatusUpdater.java
+6
-2
No files found.
spring-boot-admin-server/src/main/java/de/codecentric/boot/admin/registry/StatusUpdater.java
View file @
813aae08
...
...
@@ -30,7 +30,7 @@ import de.codecentric.boot.admin.model.StatusInfo;
import
de.codecentric.boot.admin.registry.store.ApplicationStore
;
/**
* The StatusUpdater is responsible for updatig the status of all or a single application querying
* The StatusUpdater is responsible for updati
n
g the status of all or a single application querying
* the healthUrl.
*
* @author Johannes Edmeier
...
...
@@ -70,7 +70,7 @@ public class StatusUpdater implements ApplicationEventPublisherAware {
}
}
pr
ivate
StatusInfo
queryStatus
(
Application
application
)
{
pr
otected
StatusInfo
queryStatus
(
Application
application
)
{
LOGGER
.
trace
(
"Updating status for {}"
,
application
);
try
{
...
...
@@ -101,6 +101,10 @@ public class StatusUpdater implements ApplicationEventPublisherAware {
this
.
statusLifetime
=
statusLifetime
;
}
public
long
getStatusLifetime
()
{
return
statusLifetime
;
}
@Override
public
void
setApplicationEventPublisher
(
ApplicationEventPublisher
publisher
)
{
this
.
publisher
=
publisher
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment