KeyCache. JGit uses one such cache in its
SshdSessionFactory to avoid loading keys multiple times.
| Modifier and Type | Field and Description |
|---|---|
| private AtomicReference |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Implements org. Removes all |
| public KeyPair |
| cache | back to summary |
|---|---|
| private AtomicReference<Map<Path, KeyPair>> cache | |
| JGitKeyCache | back to summary |
|---|---|
| public JGitKeyCache() | |
| close | back to summary |
|---|---|
| public void close() Implements org. Doc from org. Removes all
| |
| get | back to summary |
|---|---|
| public KeyPair get(Path path, Function<? super Path, ? extends KeyPair> loader) Implements org. Doc from org. Obtains a | |