Class CloudPoolRestApiImpl

    • Field Detail

      • DEFAULT_CONFIG_FILE_NAME

        public static final java.lang.String DEFAULT_CONFIG_FILE_NAME
        Default file name (within the storage directory) in which CloudPool configuration is stored.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CloudPoolRestApiImpl

        public CloudPoolRestApiImpl​(CloudPool cloudPool,
                                    java.lang.String storageDir)
        Creates a CloudPoolRestApiImpl that will store set CloudPool configurations under a given storage directory with the DEFAULT_CONFIG_FILE_NAME.
        Parameters:
        cloudPool - The back-end CloudPool that is being managed.
        storageDir - The directory path where runtime state for the CloudPool is stored. The CloudPoolRestApiImpl will use this directory to store every set configuration so that it can be restored on restart. The directory will be created if it does not exist.
      • CloudPoolRestApiImpl

        public CloudPoolRestApiImpl​(CloudPool cloudPool,
                                    java.lang.String storageDir,
                                    java.lang.String configFileName)
        Creates a CloudPoolRestApiImpl that will store set CloudPool configurations under a given storage directory with a given file name.
        Parameters:
        cloudPool - The back-end CloudPool that is being managed.
        storageDir - The directory path where runtime state for the CloudPool is stored. The CloudPoolRestApiImpl will use this directory to store every set configuration so that it can be restored on restart. The directory will be created if it does not exist.
        configFileName - The file name, within the storageDir, in which CloudPool configuration is stored.