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:
java.util.function.Supplier<java.util.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 java.util.function.Supplier<java.util.List<org.apache.sshd.client.keyverifier.KnownHostsServerKeyVerifier.HostEntryPair>>
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<org.apache.sshd.client.keyverifier.KnownHostsServerKeyVerifier.HostEntryPair>
entries
-
Constructor Summary
Constructors Constructor Description HostKeyFile(java.nio.file.Path path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<org.apache.sshd.client.keyverifier.KnownHostsServerKeyVerifier.HostEntryPair>
get()
private java.util.List<org.apache.sshd.client.keyverifier.KnownHostsServerKeyVerifier.HostEntryPair>
reload(java.nio.file.Path path)
-
Methods inherited from class org.apache.sshd.common.util.io.ModifiableFileWatcher
checkReloadRequired, exists, getPath, lastModified, resetReloadAttributes, size, toPathResource, toPathResource, toString, updateReloadAttributes, validateStrictConfigFilePermissions
-
-
-
-
Method Detail
-
get
public java.util.List<org.apache.sshd.client.keyverifier.KnownHostsServerKeyVerifier.HostEntryPair> get()
- Specified by:
get
in interfacejava.util.function.Supplier<java.util.List<org.apache.sshd.client.keyverifier.KnownHostsServerKeyVerifier.HostEntryPair>>
-
reload
private java.util.List<org.apache.sshd.client.keyverifier.KnownHostsServerKeyVerifier.HostEntryPair> reload(java.nio.file.Path path) throws java.io.IOException
- Throws:
java.io.IOException
-
-