public class UsageStatsOptOutService extends Object
| Constructor and Description |
|---|
UsageStatsOptOutService(org.graylog2.plugin.cluster.ClusterConfigService clusterConfigService,
UsageStatsConfiguration config,
okhttp3.OkHttpClient httpClient,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
| Modifier and Type | Method and Description |
|---|---|
protected byte[] |
buildPayload() |
UsageStatsOptOutState |
getOptOutState() |
protected URL |
getUrl() |
void |
setOptOutState(UsageStatsOptOutState optOutState) |
@Inject
public UsageStatsOptOutService(org.graylog2.plugin.cluster.ClusterConfigService clusterConfigService,
UsageStatsConfiguration config,
okhttp3.OkHttpClient httpClient,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
@Nullable public UsageStatsOptOutState getOptOutState()
public void setOptOutState(UsageStatsOptOutState optOutState)
@Nullable protected byte[] buildPayload()
Copyright © 2015–2016 Graylog, Inc.. All rights reserved.