Interface ICloudServiceManager

    • Method Detail

      • getTempDirectory

        java.io.File getTempDirectory()
      • getPersistenceServicesDirectory

        java.io.File getPersistenceServicesDirectory()
      • getGlobalServiceInfoSnapshots

        java.util.Map<java.util.UUID,​ServiceInfoSnapshot> getGlobalServiceInfoSnapshots()
      • getCloudServices

        java.util.Map<java.util.UUID,​ICloudService> getCloudServices()
      • getCloudServiceFactories

        java.util.Map<java.lang.String,​ICloudServiceFactory> getCloudServiceFactories()
      • init

        void init()
      • getServiceTasks

        java.util.List<ServiceTask> getServiceTasks()
      • setServiceTasks

        void setServiceTasks​(java.util.Collection<ServiceTask> tasks)
      • setServiceTasksWithoutClusterSync

        void setServiceTasksWithoutClusterSync​(java.util.Collection<ServiceTask> tasks)
      • updatePermanentServiceTask

        default void updatePermanentServiceTask​(ServiceTask task)
      • addPermanentServiceTask

        boolean addPermanentServiceTask​(ServiceTask task)
      • removePermanentServiceTask

        void removePermanentServiceTask​(ServiceTask task)
      • removePermanentServiceTask

        void removePermanentServiceTask​(java.lang.String name)
      • addPermanentServiceTaskWithoutClusterSync

        boolean addPermanentServiceTaskWithoutClusterSync​(ServiceTask task)
      • removePermanentServiceTaskWithoutClusterSync

        void removePermanentServiceTaskWithoutClusterSync​(ServiceTask task)
      • removePermanentServiceTaskWithoutClusterSync

        void removePermanentServiceTaskWithoutClusterSync​(java.lang.String name)
      • removeAllPermanentServiceTasks

        void removeAllPermanentServiceTasks()
      • getServiceTask

        ServiceTask getServiceTask​(java.lang.String name)
      • isTaskPresent

        boolean isTaskPresent​(java.lang.String name)
      • updateGroupConfiguration

        default void updateGroupConfiguration​(GroupConfiguration groupConfiguration)
      • setGroupConfigurations

        void setGroupConfigurations​(java.util.Collection<GroupConfiguration> groupConfigurations)
      • setGroupConfigurationsWithoutClusterSync

        void setGroupConfigurationsWithoutClusterSync​(java.util.Collection<GroupConfiguration> groupConfigurations)
      • getGroupConfiguration

        GroupConfiguration getGroupConfiguration​(java.lang.String name)
      • addGroupConfiguration

        void addGroupConfiguration​(GroupConfiguration groupConfiguration)
      • removeGroupConfiguration

        void removeGroupConfiguration​(GroupConfiguration groupConfiguration)
      • addGroupConfigurationWithoutClusterSync

        void addGroupConfigurationWithoutClusterSync​(GroupConfiguration groupConfiguration)
      • removeGroupConfigurationWithoutClusterSync

        void removeGroupConfigurationWithoutClusterSync​(GroupConfiguration groupConfiguration)
      • removeGroupConfiguration

        void removeGroupConfiguration​(java.lang.String name)
      • removeGroupConfigurationWithoutClusterSync

        void removeGroupConfigurationWithoutClusterSync​(java.lang.String name)
      • isGroupConfigurationPresent

        boolean isGroupConfigurationPresent​(java.lang.String group)
      • runTask

        ICloudService runTask​(java.lang.String name,
                              java.lang.String runtime,
                              boolean autoDeleteOnStop,
                              boolean staticService,
                              java.util.Collection<ServiceRemoteInclusion> includes,
                              java.util.Collection<ServiceTemplate> templates,
                              java.util.Collection<ServiceDeployment> deployments,
                              java.util.Collection<java.lang.String> groups,
                              java.util.Collection<java.lang.String> deletedFilesAfterStop,
                              ProcessConfiguration processConfiguration,
                              JsonDocument properties,
                              java.lang.Integer port)
      • runTask

        default ICloudService runTask​(java.lang.String name,
                                      java.lang.String runtime,
                                      boolean autoDeleteOnStop,
                                      boolean staticService,
                                      java.util.Collection<ServiceRemoteInclusion> includes,
                                      java.util.Collection<ServiceTemplate> templates,
                                      java.util.Collection<ServiceDeployment> deployments,
                                      java.util.Collection<java.lang.String> groups,
                                      java.util.Collection<java.lang.String> deletedFilesAfterStop,
                                      ProcessConfiguration processConfiguration,
                                      java.lang.Integer port)
      • startAllCloudServices

        void startAllCloudServices()
      • stopAllCloudServices

        void stopAllCloudServices()
      • deleteAllCloudServices

        void deleteAllCloudServices()
      • getCloudService

        ICloudService getCloudService​(java.util.UUID uniqueId)
      • getLocalCloudServices

        java.util.Collection<ICloudService> getLocalCloudServices​(java.lang.String taskName)
      • getLocalCloudServices

        java.util.Collection<ICloudService> getLocalCloudServices​(java.util.function.Predicate<ICloudService> predicate)
      • getLocalCloudServices

        java.util.Collection<ICloudService> getLocalCloudServices()
      • getServiceInfoSnapshot

        ServiceInfoSnapshot getServiceInfoSnapshot​(java.util.UUID uniqueId)
      • getServiceInfoSnapshots

        java.util.Collection<ServiceInfoSnapshot> getServiceInfoSnapshots​(java.lang.String taskName)
      • getReservedTaskIds

        java.util.Collection<java.lang.Integer> getReservedTaskIds​(java.lang.String task)
      • reload

        void reload()
      • getCurrentUsedHeapMemory

        int getCurrentUsedHeapMemory()
      • getCurrentReservedMemory

        int getCurrentReservedMemory()