Interface ProxyProtocol

All Superinterfaces:
PrimitiveProtocol
All Known Subinterfaces:
LogProtocol

public interface ProxyProtocol
extends PrimitiveProtocol
State machine replication-based primitive protocol.
  • Method Details

    • group

      String group()
      Returns the protocol partition group name.
      Returns:
      the protocol partition group name
    • newProxy

      <S> ProxyClient<S> newProxy​(String primitiveName, PrimitiveType primitiveType, Class<S> serviceType, ServiceConfig serviceConfig, PartitionService partitionService)
      Returns a new primitive proxy for the given partition group.
      Parameters:
      primitiveName - the primitive name
      primitiveType - the primitive type
      serviceType - the primitive service type
      serviceConfig - the service configuration
      partitionService - the partition service
      Returns:
      the proxy for the given partition group