public class CachedAccountStorage extends AccountStorage implements org.picocontainer.Startable
| Constructor and Description |
|---|
CachedAccountStorage(WalletAccountDAO walletAccountDAO) |
| Modifier and Type | Method and Description |
|---|---|
Wallet |
getWalletByAddress(String address) |
Wallet |
getWalletByIdentityId(long identityId) |
Wallet |
removeWallet(long identityId) |
void |
saveWallet(Wallet wallet,
boolean isNew) |
void |
start() |
void |
stop() |
getWalletsCount, listWalletspublic CachedAccountStorage(WalletAccountDAO walletAccountDAO)
public void start()
start in interface org.picocontainer.Startablepublic Wallet getWalletByAddress(String address)
getWalletByAddress in class AccountStoragepublic Wallet getWalletByIdentityId(long identityId)
getWalletByIdentityId in class AccountStoragepublic void saveWallet(Wallet wallet, boolean isNew)
saveWallet in class AccountStoragepublic Wallet removeWallet(long identityId)
removeWallet in class AccountStoragepublic void stop()
stop in interface org.picocontainer.StartableCopyright © 2003–2019 eXo Platform SAS. All rights reserved.