Class DefaultStatisticsGatewayFactory
- java.lang.Object
-
- de.hybris.platform.masterserver.impl.DefaultStatisticsGatewayFactory
-
- All Implemented Interfaces:
StatisticsGatewayFactory<StatisticsPayload>
public final class DefaultStatisticsGatewayFactory extends java.lang.Object implements StatisticsGatewayFactory<StatisticsPayload>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringMASTERSERVER_PUBLIC_KEY_FILE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StatisticsGatewayFactory<StatisticsPayload>getInstance()com.hybris.statistics.StatisticsGateway<StatisticsPayload>getOrCreateStatisticsGateway()Creates or gets already created statistics gateway.
-
-
-
Field Detail
-
MASTERSERVER_PUBLIC_KEY_FILE
public static final java.lang.String MASTERSERVER_PUBLIC_KEY_FILE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static StatisticsGatewayFactory<StatisticsPayload> getInstance()
-
getOrCreateStatisticsGateway
public com.hybris.statistics.StatisticsGateway<StatisticsPayload> getOrCreateStatisticsGateway()
Description copied from interface:StatisticsGatewayFactoryCreates or gets already created statistics gateway. Ensures only one instance per tenant.- Specified by:
getOrCreateStatisticsGatewayin interfaceStatisticsGatewayFactory<StatisticsPayload>- Returns:
- the or create statistics gateway
-
-