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 AccountSshKey
create(Account.Id accountId, int seq, String encoded)
void
evict(String username)
static com.google.inject.Module
module()
-
-
-
Method Detail
-
module
public static com.google.inject.Module module()
-
evict
public void evict(String username)
- Specified by:
evict
in interfaceSshKeyCache
-
create
public AccountSshKey create(Account.Id accountId, int seq, String encoded) throws com.google.gerrit.exceptions.InvalidSshKeyException
- Specified by:
create
in interfaceSshKeyCreator
- Throws:
com.google.gerrit.exceptions.InvalidSshKeyException
-
-