Class ApplicationRecentLogsProvider
java.lang.Object
org.springframework.cloud.appbroker.logging.recent.ApplicationRecentLogsProvider
- All Implemented Interfaces:
RecentLogsProvider
-
Constructor Summary
ConstructorDescriptionApplicationRecentLogsProvider
(org.cloudfoundry.logcache.v1.LogCacheClient logCacheClient, ApplicationIdsProvider applicationIdsProvider) -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Flux<org.cloudfoundry.logcache.v1.Envelope>
protected reactor.core.publisher.Flux<org.cloudfoundry.logcache.v1.Envelope>
recentLogs
(String applicationId)
-
Constructor Details
-
ApplicationRecentLogsProvider
public ApplicationRecentLogsProvider(org.cloudfoundry.logcache.v1.LogCacheClient logCacheClient, ApplicationIdsProvider applicationIdsProvider)
-
-
Method Details
-
getLogs
public reactor.core.publisher.Flux<org.cloudfoundry.logcache.v1.Envelope> getLogs(String serviceInstanceId) - Specified by:
getLogs
in interfaceRecentLogsProvider
-
recentLogs
protected reactor.core.publisher.Flux<org.cloudfoundry.logcache.v1.Envelope> recentLogs(String applicationId)
-