Modifier and Type | Method and Description |
---|---|
void |
clearData() |
void |
deleteProfile(Account account)
Delete the profile for an account.
|
Map<String,Object> |
getProfile(Account account)
Get the profile for a given account.
|
protected void |
shutDown() |
protected void |
startUp() |
void |
writeProfile(Account account,
Map<String,Object> profile)
Write the profile for a given account.
|
addListener, executor, isRunning, start, startAndWait, state, stop, stopAndWait, toString
public void clearData() throws SQLException
SQLException
protected void startUp() throws Exception
startUp
in class com.google.common.util.concurrent.AbstractIdleService
Exception
protected void shutDown() throws Exception
shutDown
in class com.google.common.util.concurrent.AbstractIdleService
Exception
public Map<String,Object> getProfile(Account account) throws IOException
UserStore
getProfile
in interface UserStore
account
- account to get the profile forIOException
- if there was an issue getting the profilepublic void writeProfile(Account account, Map<String,Object> profile) throws IOException
UserStore
writeProfile
in interface UserStore
account
- account to write the profile forprofile
- account profile to writeIOException
- if there was an issue writing the profilepublic void deleteProfile(Account account) throws IOException
UserStore
deleteProfile
in interface UserStore
account
- account whose profile should be deletedIOException
- if there was an issue deleting the profileCopyright © 2013-2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.