Uses of Interface
eu.cloudnetservice.driver.document.Document
Packages that use Document
Package
Description
-
Uses of Document in eu.cloudnetservice.driver
Fields in eu.cloudnetservice.driver declared as DocumentMethods in eu.cloudnetservice.driver that return DocumentModifier and TypeMethodDescriptionDriverEnvironment.propertyHolder()Get the underlying document that all read and write operations are delegated to.Constructors in eu.cloudnetservice.driver with parameters of type DocumentModifierConstructorDescriptionDriverEnvironment(@NonNull String name, @NonNull Document properties) Constructs a new driver environment instance. -
Uses of Document in eu.cloudnetservice.driver.cluster
Fields in eu.cloudnetservice.driver.cluster declared as DocumentModifier and TypeFieldDescriptionprivate final DocumentNetworkClusterNode.propertiesprotected final DocumentNodeInfoSnapshot.propertiesMethods in eu.cloudnetservice.driver.cluster that return DocumentModifier and TypeMethodDescriptionNetworkClusterNode.propertyHolder()Get the underlying document that all read and write operations are delegated to.NodeInfoSnapshot.propertyHolder()Get the underlying document that all read and write operations are delegated to.Constructors in eu.cloudnetservice.driver.cluster with parameters of type DocumentModifierConstructorDescriptionNetworkClusterNode(@NonNull String uniqueId, @NonNull List<HostAndPort> listeners, @NonNull Document properties) Creates a new instance of a network cluster node.NodeInfoSnapshot(long creationTime, long startupMillis, int maxMemory, int usedMemory, int reservedMemory, int currentServicesCount, boolean drain, @NonNull NetworkClusterNode node, @NonNull CloudNetVersion version, @NonNull ProcessSnapshot processSnapshot, double maxCPUUsageToStartServices, @NonNull Collection<ModuleConfiguration> modules, @NonNull Document properties) Constructs a new network cluster node info snapshot instance. -
Uses of Document in eu.cloudnetservice.driver.database
Methods in eu.cloudnetservice.driver.database that return DocumentModifier and TypeMethodDescriptionGets the associated document with the given key from the database.Methods in eu.cloudnetservice.driver.database that return types with arguments of type DocumentModifier and TypeMethodDescriptionDatabase.documents()Get all values which are currently stored and mapped to a key in the database.Database.documentsAsync()Get all values which are currently stored and mapped to a key in the database.Database.entries()Get all key-value pairs which are currently stored in the database.Database.entriesAsync()Get all key-value pairs which are currently stored in the database.Searches for all entries in the database which value contains the given field and the field value matches the given value.Searches for all entries in the database which contain each entry of the provided map.Searches for all entries in the database which value contains the given field and the field value matches the given value.Searches for all entries in the database which contain each entry of the provided map.Gets the associated document with the given key from the database.Methods in eu.cloudnetservice.driver.database with parameters of type DocumentModifier and TypeMethodDescriptionbooleanAssociates the given key with the given document in the database.Database.insertAsync(@NonNull String key, @NonNull Document document) Associates the given key with the given document in the database. -
Uses of Document in eu.cloudnetservice.driver.document
Subinterfaces of Document in eu.cloudnetservice.driver.documentModifier and TypeInterfaceDescriptionstatic interfaceA mutable version of a document.Methods in eu.cloudnetservice.driver.document that return DocumentModifier and TypeMethodDescriptionDocument.immutableCopy()Makes an immutable copy of this document.Document.readDocument(@NonNull String key) Reads a document of the same type from this document or returns an empty document if no value is associated with the given key.Document.readDocument(@NonNull String key, @Nullable Document def) Reads a document of the same type from this document or returns an empty document if no value is associated with the given key.Methods in eu.cloudnetservice.driver.document with parameters of type DocumentModifier and TypeMethodDescriptionAppends all key-value pairs of the given document into this document.Appends the given document associated with the given key to this document.Document.readDocument(@NonNull String key, @Nullable Document def) Reads a document of the same type from this document or returns an empty document if no value is associated with the given key. -
Uses of Document in eu.cloudnetservice.driver.document.property
Methods in eu.cloudnetservice.driver.document.property that return DocumentModifier and TypeMethodDescriptionDocPropertyHolder.propertyHolder()Get the underlying document that all read and write operations are delegated to.Methods in eu.cloudnetservice.driver.document.property with parameters of type DocumentModifier and TypeMethodDescriptionCalled to read the value of this property from the given document.Called to read the value of this property from the given document.Called to read the value of this property from the given document.Called to read the value of this property from the given document.Called to read the value of this property from the given document.Method parameters in eu.cloudnetservice.driver.document.property with type arguments of type DocumentModifier and TypeMethodDescriptiondefault SDefaultedDocPropertyHolder.Mutable.WithDirectModifier.modifyAndSetProperties(@NonNull Function<Document.Mutable, ? extends Document> modifier) Applies the given operator to the underlying document and copies over all items from the underlying document into this holder. -
Uses of Document in eu.cloudnetservice.driver.module
Fields in eu.cloudnetservice.driver.module declared as DocumentModifier and TypeFieldDescriptionModuleConfiguration.propertiesThe field for thepropertiesrecord component.Methods in eu.cloudnetservice.driver.module that return DocumentModifier and TypeMethodDescriptionModuleConfiguration.properties()Returns the value of thepropertiesrecord component.Constructors in eu.cloudnetservice.driver.module with parameters of type DocumentModifierConstructorDescriptionModuleConfiguration(boolean runtimeModule, boolean storesSensitiveData, @NonNull String group, @NonNull String name, @NonNull String version, @NonNull String main, @Nullable String description, @Nullable String author, @Nullable String website, @Nullable String dataFolder, @Nullable ModuleRepository[] repositories, @Nullable ModuleDependency[] dependencies, int minJavaVersionId, @Nullable Document properties) Creates an instance of aModuleConfigurationrecord class. -
Uses of Document in eu.cloudnetservice.driver.module.driver
Methods in eu.cloudnetservice.driver.module.driver that return DocumentModifier and TypeMethodDescriptionDriverModule.readConfig(@NonNull DocumentFactory factory) Reads the configuration file of this module from the default or overridden configuration path (via module.json) into a json document, throwing an exception when the document is invalid.Methods in eu.cloudnetservice.driver.module.driver with parameters of type DocumentModifier and TypeMethodDescriptionvoidDriverModule.writeConfig(@NonNull Document config) Writes the given configuration document to the default configuration pathDriverModule.configPath(). -
Uses of Document in eu.cloudnetservice.driver.provider
Methods in eu.cloudnetservice.driver.provider with parameters of type DocumentModifier and TypeMethodDescriptionvoidSpecificCloudServiceProvider.updateProperties(@NonNull Document properties) Updates the properties of the current service info to include all properties set in the given document.SpecificCloudServiceProvider.updatePropertiesAsync(@NonNull Document properties) Updates the properties of the current service info to include all properties set in the given document. -
Uses of Document in eu.cloudnetservice.driver.service
Fields in eu.cloudnetservice.driver.service declared as DocumentModifier and TypeFieldDescriptionprotected final DocumentServiceConfigurationBase.propertiesprotected DocumentServiceDeployment.Builder.propertiesprotected final DocumentServiceDeployment.propertiesprivate DocumentServiceEnvironmentType.Builder.propertiesprivate final DocumentServiceEnvironmentType.propertiesprotected final DocumentServiceInfoSnapshot.propertiesprotected DocumentServiceRemoteInclusion.Builder.propertiesprivate final DocumentServiceRemoteInclusion.propertiesMethods in eu.cloudnetservice.driver.service that return DocumentModifier and TypeMethodDescriptionServiceConfigurationBase.propertyHolder()Get the underlying document that all read and write operations are delegated to.ServiceDeployment.propertyHolder()Get the underlying document that all read and write operations are delegated to.ServiceEnvironmentType.propertyHolder()Get the underlying document that all read and write operations are delegated to.ServiceInfoSnapshot.propertyHolder()Get the underlying document that all read and write operations are delegated to.ServiceRemoteInclusion.propertyHolder()Get the underlying document that all read and write operations are delegated to.Methods in eu.cloudnetservice.driver.service with parameters of type DocumentModifier and TypeMethodDescriptionServiceConfigurationBase.Builder.properties(@NonNull Document properties) The properties to apply to the underlying created configuration.ServiceDeployment.Builder.properties(@NonNull Document properties) Sets the properties of the deployment.ServiceEnvironmentType.Builder.properties(@NonNull Document properties) Sets the properties of the service environment type.ServiceRemoteInclusion.Builder.properties(@NonNull Document properties) Sets the properties of the service remote inclusion.Constructors in eu.cloudnetservice.driver.service with parameters of type DocumentModifierConstructorDescriptionprotectedGroupConfiguration(@NonNull String name, @NonNull Set<String> jvmOptions, @NonNull Set<String> processParameters, @NonNull Map<String, String> environmentVariables, @NonNull Set<String> targetEnvironments, @NonNull Set<ServiceTemplate> templates, @NonNull Set<ServiceDeployment> deployments, @NonNull Set<ServiceRemoteInclusion> includes, @NonNull Document properties) Constructs a new group configuration instance.protectedServiceConfiguration(@NonNull ServiceId serviceId, @NonNull ProcessConfiguration processConfig, @NonNull ServiceCreateRetryConfiguration retryConfiguration, int port, @NonNull String runtime, @Nullable String hostAddress, @Nullable String javaCommand, boolean autoDeleteOnStop, boolean staticService, @NonNull Set<String> groups, @NonNull Set<String> deletedFilesAfterStop, @NonNull Set<ServiceTemplate> templates, @NonNull Set<ServiceDeployment> deployments, @NonNull Set<ServiceRemoteInclusion> includes, @NonNull Document properties) Constructs a new service configuration instance.protectedServiceConfigurationBase(@NonNull Set<ServiceTemplate> templates, @NonNull Set<ServiceDeployment> deployments, @NonNull Set<ServiceRemoteInclusion> includes, @NonNull Document properties) Constructs a new service configuration base instance.protectedServiceDeployment(@NonNull ServiceTemplate template, @NonNull Collection<Pattern> excludes, @NonNull Collection<Pattern> includes, @NonNull Document properties) Constructs a new service deployment instance.privateServiceEnvironmentType(@NonNull String name, int defaultServiceStartPort, @NonNull Set<String> defaultProcessArguments, @NonNull Document properties) Constructs a new service environment type instance.ServiceInfoSnapshot(long creationTime, @NonNull HostAndPort address, @NonNull ProcessSnapshot processSnapshot, @NonNull ServiceConfiguration configuration, long connectedTime, @NonNull ServiceLifeCycle lifeCycle, @NonNull Document properties) Constructs a new service info snapshot.privateServiceRemoteInclusion(@NonNull String url, @NonNull String destination, @NonNull String cacheStrategy, @NonNull Document properties) Constructs a new service remote inclusion instance.protectedServiceTask(@NonNull String name, @NonNull String runtime, @Nullable String hostAddress, @Nullable String javaCommand, @NonNull String nameSplitter, boolean disableIpRewrite, boolean maintenance, boolean autoDeleteOnStop, boolean staticServices, @NonNull Set<String> groups, @NonNull Set<String> associatedNodes, @NonNull Set<String> deletedFilesAfterStop, @NonNull ProcessConfiguration processConfiguration, int startPort, int minServiceCount, @NonNull Set<ServiceTemplate> templates, @NonNull Set<ServiceDeployment> deployments, @NonNull Set<ServiceRemoteInclusion> includes, @NonNull Document properties) Constructs a new service task instance.