Interface Domain.Builder

    • Method Detail

      • lifecycle

        Domain.Builder lifecycle​(String lifecycle)

        The type of lifecycle management for apps in the domain. Indicates whether apps in this domain are managed (SimSpace Weaver starts and stops the apps) or unmanaged (you must start and stop the apps).

        Lifecycle types

        • PerWorker – Managed: SimSpace Weaver starts one app on each worker.

        • BySpatialSubdivision – Managed: SimSpace Weaver starts one app for each spatial partition.

        • ByRequest – Unmanaged: You use the StartApp API to start the apps and use the StopApp API to stop the apps.

        Parameters:
        lifecycle - The type of lifecycle management for apps in the domain. Indicates whether apps in this domain are managed (SimSpace Weaver starts and stops the apps) or unmanaged (you must start and stop the apps).

        Lifecycle types

        • PerWorker – Managed: SimSpace Weaver starts one app on each worker.

        • BySpatialSubdivision – Managed: SimSpace Weaver starts one app for each spatial partition.

        • ByRequest – Unmanaged: You use the StartApp API to start the apps and use the StopApp API to stop the apps.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        LifecycleManagementStrategy, LifecycleManagementStrategy
      • lifecycle

        Domain.Builder lifecycle​(LifecycleManagementStrategy lifecycle)

        The type of lifecycle management for apps in the domain. Indicates whether apps in this domain are managed (SimSpace Weaver starts and stops the apps) or unmanaged (you must start and stop the apps).

        Lifecycle types

        • PerWorker – Managed: SimSpace Weaver starts one app on each worker.

        • BySpatialSubdivision – Managed: SimSpace Weaver starts one app for each spatial partition.

        • ByRequest – Unmanaged: You use the StartApp API to start the apps and use the StopApp API to stop the apps.

        Parameters:
        lifecycle - The type of lifecycle management for apps in the domain. Indicates whether apps in this domain are managed (SimSpace Weaver starts and stops the apps) or unmanaged (you must start and stop the apps).

        Lifecycle types

        • PerWorker – Managed: SimSpace Weaver starts one app on each worker.

        • BySpatialSubdivision – Managed: SimSpace Weaver starts one app for each spatial partition.

        • ByRequest – Unmanaged: You use the StartApp API to start the apps and use the StopApp API to stop the apps.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        LifecycleManagementStrategy, LifecycleManagementStrategy
      • name

        Domain.Builder name​(String name)

        The name of the domain.

        Parameters:
        name - The name of the domain.
        Returns:
        Returns a reference to this object so that method calls can be chained together.