Interface ICloudService

    • Method Detail

      • init

        @Internal
        void init()
      • getJavaCommand

        @Nullable
        @Nullable java.lang.String getJavaCommand()
      • getRuntime

        @NotNull
        @NotNull java.lang.String getRuntime()
      • getIncludes

        java.util.List<de.dytanic.cloudnet.driver.service.ServiceRemoteInclusion> getIncludes()
      • getTemplates

        java.util.List<de.dytanic.cloudnet.driver.service.ServiceTemplate> getTemplates()
      • getDeployments

        java.util.List<de.dytanic.cloudnet.driver.service.ServiceDeployment> getDeployments()
      • getWaitingIncludes

        java.util.Queue<de.dytanic.cloudnet.driver.service.ServiceRemoteInclusion> getWaitingIncludes()
      • getWaitingTemplates

        java.util.Queue<de.dytanic.cloudnet.driver.service.ServiceTemplate> getWaitingTemplates()
      • getGroups

        java.util.List<java.lang.String> getGroups()
      • getLifeCycle

        @NotNull
        @NotNull de.dytanic.cloudnet.driver.service.ServiceLifeCycle getLifeCycle()
      • getServiceConfiguration

        @NotNull
        @NotNull de.dytanic.cloudnet.driver.service.ServiceConfiguration getServiceConfiguration()
      • getServiceId

        @NotNull
        @NotNull de.dytanic.cloudnet.driver.service.ServiceId getServiceId()
      • getConnectionKey

        java.lang.String getConnectionKey()
      • getDirectory

        @NotNull
        @Deprecated
        @NotNull java.io.File getDirectory()
        Deprecated.
      • getDirectoryPath

        @NotNull
        @NotNull java.nio.file.Path getDirectoryPath()
      • getNetworkChannel

        de.dytanic.cloudnet.driver.network.INetworkChannel getNetworkChannel()
      • setNetworkChannel

        @Internal
        void setNetworkChannel​(de.dytanic.cloudnet.driver.network.INetworkChannel channel)
      • getServiceInfoSnapshot

        @NotNull
        @NotNull de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot getServiceInfoSnapshot()
      • getLastServiceInfoSnapshot

        @NotNull
        @NotNull de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot getLastServiceInfoSnapshot()
      • forceUpdateServiceInfoSnapshotAsync

        de.dytanic.cloudnet.common.concurrent.ITask<de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot> forceUpdateServiceInfoSnapshotAsync()
      • getProcess

        @Nullable
        @Nullable java.lang.Process getProcess()
      • runCommand

        void runCommand​(@NotNull
                        @NotNull java.lang.String commandLine)
      • getConfiguredMaxHeapMemory

        int getConfiguredMaxHeapMemory()
      • start

        void start()
            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • restart

        void restart()
              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • stop

        int stop()
      • kill

        int kill()
      • delete

        default void delete()
      • delete

        void delete​(boolean sendUpdate)
      • isAlive

        boolean isAlive()
      • includeInclusions

        void includeInclusions()
      • includeTemplates

        void includeTemplates()
      • deployResources

        void deployResources​(boolean removeDeployments)
      • deployResources

        default void deployResources()
      • offerTemplate

        void offerTemplate​(@NotNull
                           @NotNull de.dytanic.cloudnet.driver.service.ServiceTemplate template)
      • offerInclusion

        void offerInclusion​(@NotNull
                            @NotNull de.dytanic.cloudnet.driver.service.ServiceRemoteInclusion inclusion)
      • addDeployment

        void addDeployment​(@NotNull
                           @NotNull de.dytanic.cloudnet.driver.service.ServiceDeployment deployment)
      • updateServiceInfoSnapshot

        void updateServiceInfoSnapshot​(@NotNull
                                       @NotNull de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot serviceInfoSnapshot)