@Component public class EventManager extends Object
| Constructor and Description |
|---|
EventManager(org.springframework.context.ApplicationEventPublisher publisher) |
| Modifier and Type | Method and Description |
|---|---|
void |
fireEvents() |
AppState |
getState() |
void |
registerEntryEvictEvent(EntryEvictEvent event) |
void |
registerEntryPutEvent(EntryPutEvent event) |
void |
registerEntryReindexEvent(EntryReIndexEvent event) |
void |
setState(AppState state) |
@Autowired public EventManager(org.springframework.context.ApplicationEventPublisher publisher)
@Scheduled(fixedRate=5000L) public void fireEvents()
public void registerEntryEvictEvent(EntryEvictEvent event)
public void registerEntryPutEvent(EntryPutEvent event)
public void registerEntryReindexEvent(EntryReIndexEvent event)
public void setState(AppState state)
public AppState getState()
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.