Class AnalyticsService

All Implemented Interfaces:
Service, Stateful<LifecycleState>

public class AnalyticsService
extends PooledService
The AnalyticsService is composed of and manages AnalyticsEndpoints.
Since:
1.4.3
Author:
Michael Nitschinger
  • Constructor Details

    • AnalyticsService

      @Deprecated public AnalyticsService​(String hostname, String bucket, String password, int port, CoreContext ctx)
      Deprecated.
      Creates a new AnalyticsService.
      Parameters:
      hostname - the hostname of the service.
      bucket - the name of the bucket.
      password - the password of the bucket.
      port - the port of the service.
      ctx - the shared context.
    • AnalyticsService

      public AnalyticsService​(String hostname, String bucket, String username, String password, int port, CoreContext ctx)
      Creates a new AnalyticsService.
      Parameters:
      hostname - the hostname of the service.
      bucket - the name of the bucket.
      username - the user authorized for bucket access.
      password - the password of the user.
      port - the port of the service.
      ctx - the shared context.
  • Method Details

    • type

      public ServiceType type()
      Description copied from interface: Service
      Returns the type for the given Service.
      Returns:
      the type.