Class OpenSshServerKeyDatabase.HostKeyFile

java.lang.Object
org.apache.sshd.common.util.logging.AbstractLoggingBean
org.apache.sshd.common.util.io.ModifiableFileWatcher
org.eclipse.jgit.internal.transport.sshd.OpenSshServerKeyDatabase.HostKeyFile
All Implemented Interfaces:
Supplier<List<org.apache.sshd.client.keyverifier.KnownHostsServerKeyVerifier.HostEntryPair>>
Enclosing class:
OpenSshServerKeyDatabase

private static class OpenSshServerKeyDatabase.HostKeyFile extends org.apache.sshd.common.util.io.ModifiableFileWatcher implements Supplier<List<org.apache.sshd.client.keyverifier.KnownHostsServerKeyVerifier.HostEntryPair>>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private List<org.apache.sshd.client.keyverifier.KnownHostsServerKeyVerifier.HostEntryPair>
     

    Fields inherited from class org.apache.sshd.common.util.io.ModifiableFileWatcher

    options, STRICTLY_PROHIBITED_FILE_PERMISSION

    Fields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean

    log
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    List<org.apache.sshd.client.keyverifier.KnownHostsServerKeyVerifier.HostEntryPair>
    get()
     
    private List<org.apache.sshd.client.keyverifier.KnownHostsServerKeyVerifier.HostEntryPair>
    reload(Path path)
     

    Methods inherited from class org.apache.sshd.common.util.io.ModifiableFileWatcher

    checkReloadRequired, exists, getPath, lastModified, resetReloadAttributes, size, toPathResource, toPathResource, toString, updateReloadAttributes, validateStrictConfigFilePermissions

    Methods inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean

    debug, debug, debug, debug, debug, error, error, error, error, error, getSimplifiedLogger, info, info, warn, warn, warn, warn, warn, warn, warn, warn

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • entries

      private List<org.apache.sshd.client.keyverifier.KnownHostsServerKeyVerifier.HostEntryPair> entries
  • Constructor Details

    • HostKeyFile

      public HostKeyFile(Path path)
  • Method Details

    • get

      public List<org.apache.sshd.client.keyverifier.KnownHostsServerKeyVerifier.HostEntryPair> get()
      Specified by:
      get in interface Supplier<List<org.apache.sshd.client.keyverifier.KnownHostsServerKeyVerifier.HostEntryPair>>
    • reload

      private List<org.apache.sshd.client.keyverifier.KnownHostsServerKeyVerifier.HostEntryPair> reload(Path path) throws IOException
      Throws:
      IOException