Package com.google.gerrit.server.ssh
Class NoSshKeyCache
- java.lang.Object
-
- com.google.gerrit.server.ssh.NoSshKeyCache
-
- All Implemented Interfaces:
SshKeyCache,SshKeyCreator
public class NoSshKeyCache extends Object implements SshKeyCache, SshKeyCreator
-
-
Constructor Summary
Constructors Constructor Description NoSshKeyCache()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountSshKeycreate(Account.Id accountId, int seq, String encoded)voidevict(String username)static com.google.inject.Modulemodule()
-
-
-
Method Detail
-
module
public static com.google.inject.Module module()
-
evict
public void evict(String username)
- Specified by:
evictin interfaceSshKeyCache
-
create
public AccountSshKey create(Account.Id accountId, int seq, String encoded) throws com.google.gerrit.exceptions.InvalidSshKeyException
- Specified by:
createin interfaceSshKeyCreator- Throws:
com.google.gerrit.exceptions.InvalidSshKeyException
-
-