Class LogService

java.lang.Object
com.logviewer.data2.LogService
All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean

public class LogService extends Object implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
  • Field Details

    • DEFAULT_FORMAT

      public static final LogFormat DEFAULT_FORMAT
  • Constructor Details

    • LogService

      public LogService()
  • Method Details

    • afterPropertiesSet

      public void afterPropertiesSet()
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
    • getRemoteNodeService

      public RemoteNodeService getRemoteNodeService()
    • getFileWatcherService

      public FileWatcherService getFileWatcherService()
    • getTimer

      public LvTimer getTimer()
    • getExecutor

      public ExecutorService getExecutor()
    • getAccessManager

      public LvFileAccessManager getAccessManager()
    • getFormatByPath

      @Nullable public LogFormat getFormatByPath(@NonNull Path path)
    • openLogs

      @NonNull public CompletableFuture<Map<String,LogView>> openLogs(@NonNull Collection<LogPath> paths)
    • openRemoteLog

      @NonNull public CompletableFuture<LogView> openRemoteLog(@NonNull LogPath path)
    • openLog

      @NonNull public Log openLog(@NonNull String pathStr)
    • openLog

      @NonNull public Log openLog(@NonNull String path, @Nullable LogFormat format)
    • openLog

      @NonNull public Log openLog(@NonNull Path path, @Nullable LogFormat format)
    • destroy

      public void destroy()
      Specified by:
      destroy in interface org.springframework.beans.factory.DisposableBean
    • reset

      public void reset()