@Component public class DecisionsToHadoopExporter extends org.springframework.data.rest.core.event.AbstractRepositoryEventListener<AbTestDecision>
| Modifier and Type | Field and Description |
|---|---|
static com.netflix.hystrix.HystrixCommand.Setter |
HADOOP_HYSTRIX_CONFIG |
String |
hadoopRestUrl |
static org.springframework.http.MediaType |
JSON_MEDIA_TYPE |
Boolean |
reportToHadoop |
| Constructor and Description |
|---|
DecisionsToHadoopExporter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
onAfterCreate(AbTestDecision entity) |
protected void |
onAfterDelete(AbTestDecision entity) |
protected void |
onAfterSave(AbTestDecision entity) |
public static final org.springframework.http.MediaType JSON_MEDIA_TYPE
public static final com.netflix.hystrix.HystrixCommand.Setter HADOOP_HYSTRIX_CONFIG
@Value(value="${hadoop.enabled:false}")
public Boolean reportToHadoop
@Value(value="${hadoop.rest.url:your.hadoop.server}")
public String hadoopRestUrl
protected void onAfterCreate(AbTestDecision entity)
onAfterCreate in class org.springframework.data.rest.core.event.AbstractRepositoryEventListener<AbTestDecision>protected void onAfterSave(AbTestDecision entity)
onAfterSave in class org.springframework.data.rest.core.event.AbstractRepositoryEventListener<AbTestDecision>protected void onAfterDelete(AbTestDecision entity)
onAfterDelete in class org.springframework.data.rest.core.event.AbstractRepositoryEventListener<AbTestDecision>Copyright © 2015 Immobilien Scout GmbH. All Rights Reserved.