Class NodeGeneralCloudServiceProvider
- java.lang.Object
-
- de.dytanic.cloudnet.provider.service.NodeGeneralCloudServiceProvider
-
- All Implemented Interfaces:
de.dytanic.cloudnet.driver.provider.service.GeneralCloudServiceProvider
public class NodeGeneralCloudServiceProvider extends java.lang.Object implements de.dytanic.cloudnet.driver.provider.service.GeneralCloudServiceProvider
-
-
Constructor Summary
Constructors Constructor Description NodeGeneralCloudServiceProvider(CloudNet cloudNet)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable de.dytanic.cloudnet.driver.service.ServiceInfoSnapshotgetCloudService(@NotNull java.util.UUID uniqueId)@NotNull de.dytanic.cloudnet.common.concurrent.ITask<de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot>getCloudServiceAsync(@NotNull java.util.UUID uniqueId)@Nullable de.dytanic.cloudnet.driver.service.ServiceInfoSnapshotgetCloudServiceByName(@NotNull java.lang.String name)@NotNull de.dytanic.cloudnet.common.concurrent.ITask<de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot>getCloudServiceByNameAsync(@NotNull java.lang.String name)java.util.Collection<de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot>getCloudServices()java.util.Collection<de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot>getCloudServices(@NotNull de.dytanic.cloudnet.driver.service.ServiceEnvironmentType environment)java.util.Collection<de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot>getCloudServices(@NotNull java.lang.String taskName)@NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot>>getCloudServicesAsync()@NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot>>getCloudServicesAsync(@NotNull de.dytanic.cloudnet.driver.service.ServiceEnvironmentType environment)@NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot>>getCloudServicesAsync(@NotNull java.lang.String taskName)java.util.Collection<de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot>getCloudServicesByGroup(@NotNull java.lang.String group)@NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot>>getCloudServicesByGroupAsync(@NotNull java.lang.String group)java.util.Collection<java.util.UUID>getServicesAsUniqueId()@NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<java.util.UUID>>getServicesAsUniqueIdAsync()intgetServicesCount()@NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.lang.Integer>getServicesCountAsync()intgetServicesCountByGroup(@NotNull java.lang.String group)@NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.lang.Integer>getServicesCountByGroupAsync(@NotNull java.lang.String group)intgetServicesCountByTask(@NotNull java.lang.String taskName)@NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.lang.Integer>getServicesCountByTaskAsync(@NotNull java.lang.String taskName)java.util.Collection<de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot>getStartedCloudServices()@NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot>>getStartedCloudServicesAsync()
-
-
-
Constructor Detail
-
NodeGeneralCloudServiceProvider
public NodeGeneralCloudServiceProvider(CloudNet cloudNet)
-
-
Method Detail
-
getServicesAsUniqueId
public java.util.Collection<java.util.UUID> getServicesAsUniqueId()
- Specified by:
getServicesAsUniqueIdin interfacede.dytanic.cloudnet.driver.provider.service.GeneralCloudServiceProvider
-
getCloudServiceByName
@Nullable public @Nullable de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot getCloudServiceByName(@NotNull @NotNull java.lang.String name)- Specified by:
getCloudServiceByNamein interfacede.dytanic.cloudnet.driver.provider.service.GeneralCloudServiceProvider
-
getCloudServices
public java.util.Collection<de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot> getCloudServices()
- Specified by:
getCloudServicesin interfacede.dytanic.cloudnet.driver.provider.service.GeneralCloudServiceProvider
-
getStartedCloudServices
public java.util.Collection<de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot> getStartedCloudServices()
- Specified by:
getStartedCloudServicesin interfacede.dytanic.cloudnet.driver.provider.service.GeneralCloudServiceProvider
-
getCloudServices
public java.util.Collection<de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot> getCloudServices(@NotNull @NotNull java.lang.String taskName)- Specified by:
getCloudServicesin interfacede.dytanic.cloudnet.driver.provider.service.GeneralCloudServiceProvider
-
getCloudServices
public java.util.Collection<de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot> getCloudServices(@NotNull @NotNull de.dytanic.cloudnet.driver.service.ServiceEnvironmentType environment)- Specified by:
getCloudServicesin interfacede.dytanic.cloudnet.driver.provider.service.GeneralCloudServiceProvider
-
getCloudServicesByGroup
public java.util.Collection<de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot> getCloudServicesByGroup(@NotNull @NotNull java.lang.String group)- Specified by:
getCloudServicesByGroupin interfacede.dytanic.cloudnet.driver.provider.service.GeneralCloudServiceProvider
-
getCloudService
@Nullable public @Nullable de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot getCloudService(@NotNull @NotNull java.util.UUID uniqueId)- Specified by:
getCloudServicein interfacede.dytanic.cloudnet.driver.provider.service.GeneralCloudServiceProvider
-
getServicesCount
public int getServicesCount()
- Specified by:
getServicesCountin interfacede.dytanic.cloudnet.driver.provider.service.GeneralCloudServiceProvider
-
getServicesCountByGroup
public int getServicesCountByGroup(@NotNull @NotNull java.lang.String group)- Specified by:
getServicesCountByGroupin interfacede.dytanic.cloudnet.driver.provider.service.GeneralCloudServiceProvider
-
getServicesCountByTask
public int getServicesCountByTask(@NotNull @NotNull java.lang.String taskName)- Specified by:
getServicesCountByTaskin interfacede.dytanic.cloudnet.driver.provider.service.GeneralCloudServiceProvider
-
getServicesAsUniqueIdAsync
@NotNull public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<java.util.UUID>> getServicesAsUniqueIdAsync()
- Specified by:
getServicesAsUniqueIdAsyncin interfacede.dytanic.cloudnet.driver.provider.service.GeneralCloudServiceProvider
-
getCloudServiceByNameAsync
@NotNull public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot> getCloudServiceByNameAsync(@NotNull @NotNull java.lang.String name)- Specified by:
getCloudServiceByNameAsyncin interfacede.dytanic.cloudnet.driver.provider.service.GeneralCloudServiceProvider
-
getCloudServicesAsync
@NotNull public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot>> getCloudServicesAsync()
- Specified by:
getCloudServicesAsyncin interfacede.dytanic.cloudnet.driver.provider.service.GeneralCloudServiceProvider
-
getStartedCloudServicesAsync
@NotNull public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot>> getStartedCloudServicesAsync()
- Specified by:
getStartedCloudServicesAsyncin interfacede.dytanic.cloudnet.driver.provider.service.GeneralCloudServiceProvider
-
getCloudServicesAsync
@NotNull public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot>> getCloudServicesAsync(@NotNull @NotNull java.lang.String taskName)- Specified by:
getCloudServicesAsyncin interfacede.dytanic.cloudnet.driver.provider.service.GeneralCloudServiceProvider
-
getCloudServicesAsync
@NotNull public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot>> getCloudServicesAsync(@NotNull @NotNull de.dytanic.cloudnet.driver.service.ServiceEnvironmentType environment)- Specified by:
getCloudServicesAsyncin interfacede.dytanic.cloudnet.driver.provider.service.GeneralCloudServiceProvider
-
getCloudServicesByGroupAsync
@NotNull public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.util.Collection<de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot>> getCloudServicesByGroupAsync(@NotNull @NotNull java.lang.String group)- Specified by:
getCloudServicesByGroupAsyncin interfacede.dytanic.cloudnet.driver.provider.service.GeneralCloudServiceProvider
-
getServicesCountAsync
@NotNull public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.lang.Integer> getServicesCountAsync()
- Specified by:
getServicesCountAsyncin interfacede.dytanic.cloudnet.driver.provider.service.GeneralCloudServiceProvider
-
getServicesCountByGroupAsync
@NotNull public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.lang.Integer> getServicesCountByGroupAsync(@NotNull @NotNull java.lang.String group)- Specified by:
getServicesCountByGroupAsyncin interfacede.dytanic.cloudnet.driver.provider.service.GeneralCloudServiceProvider
-
getServicesCountByTaskAsync
@NotNull public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<java.lang.Integer> getServicesCountByTaskAsync(@NotNull @NotNull java.lang.String taskName)- Specified by:
getServicesCountByTaskAsyncin interfacede.dytanic.cloudnet.driver.provider.service.GeneralCloudServiceProvider
-
getCloudServiceAsync
@NotNull public @NotNull de.dytanic.cloudnet.common.concurrent.ITask<de.dytanic.cloudnet.driver.service.ServiceInfoSnapshot> getCloudServiceAsync(@NotNull @NotNull java.util.UUID uniqueId)- Specified by:
getCloudServiceAsyncin interfacede.dytanic.cloudnet.driver.provider.service.GeneralCloudServiceProvider
-
-