Interface ClusteredGreetingService

All Known Implementing Classes:
ClusteredGreetingServiceImpl

public interface ClusteredGreetingService
Clustered greeting service used by the HA/HP example.
  • Method Summary

    Modifier and Type
    Method
    Description
    greet(String name)
    Greets a caller.
    Returns the serving instance id.
  • Method Details

    • greet

      String greet(String name)
      Greets a caller.
      Parameters:
      name - caller name
      Returns:
      greeting with instance id
    • instanceId

      String instanceId()
      Returns the serving instance id.
      Returns:
      instance id