public class PersonStore extends Object
| Constructor and Description |
|---|
PersonStore(StoreConfig config,
EventClient eventClient) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
delete(String id) |
Person |
get(String id) |
Collection<Person> |
getAll() |
PersonStoreStats |
getStats() |
boolean |
put(String id,
Person person) |
@Inject public PersonStore(StoreConfig config, EventClient eventClient)
public PersonStoreStats getStats()
public boolean put(String id, Person person)
public boolean delete(String id)
public Collection<Person> getAll()
Copyright © 2010-2016 Airlift. All Rights Reserved.