Uses of Class
org.glassfish.api.admin.FailurePolicy
-
Packages that use FailurePolicy Package Description com.sun.enterprise.admin.util com.sun.enterprise.v3.admin org.glassfish.api.admin Admin commands in GlassFish -
-
Uses of FailurePolicy in com.sun.enterprise.admin.util
Methods in com.sun.enterprise.admin.util with parameters of type FailurePolicy Modifier and Type Method Description static ActionReport.ExitCodeClusterOperationUtil. replicateCommand(String commandName, FailurePolicy failPolicy, FailurePolicy offlinePolicy, FailurePolicy neverStartedPolicy, Collection<String> targetNames, AdminCommandContext context, ParameterMap parameters, org.glassfish.hk2.api.ServiceLocator habitat)static ActionReport.ExitCodeClusterOperationUtil. replicateCommand(String commandName, FailurePolicy failPolicy, FailurePolicy offlinePolicy, FailurePolicy neverStartedPolicy, Collection<String> targetNames, AdminCommandContext context, ParameterMap parameters, org.glassfish.hk2.api.ServiceLocator habitat, File intermediateDownloadDir)Replicates a given command on the given list of targets, optionally gathering downloaded result payloads from the instance commands into a directory.static ActionReport.ExitCodeClusterOperationUtil. replicateCommand(String commandName, FailurePolicy failPolicy, FailurePolicy offlinePolicy, FailurePolicy neverStartedPolicy, List<Server> instancesForReplication, AdminCommandContext context, ParameterMap parameters, org.glassfish.hk2.api.ServiceLocator habitat)static ActionReport.ExitCodeClusterOperationUtil. replicateCommand(String commandName, FailurePolicy failPolicy, FailurePolicy offlinePolicy, FailurePolicy neverStartedPolicy, List<Server> instancesForReplication, AdminCommandContext context, ParameterMap parameters, org.glassfish.hk2.api.ServiceLocator habitat, File intermediateDownloadDir)Replicates a given command on the given list of targets, optionally gathering downloaded result payloads from the instance commands into a directory.Constructors in com.sun.enterprise.admin.util with parameters of type FailurePolicy Constructor Description InstanceCommandExecutor(org.glassfish.hk2.api.ServiceLocator habitat, String name, FailurePolicy fail, FailurePolicy offline, Server server, String host, int port, Logger logger, ParameterMap p, ActionReport r, InstanceCommandResult res)InstanceRestCommandExecutor(org.glassfish.hk2.api.ServiceLocator habitat, String name, FailurePolicy fail, FailurePolicy offline, Server server, String host, int port, Logger logger, ParameterMap p, ActionReport r, InstanceCommandResult res) -
Uses of FailurePolicy in com.sun.enterprise.v3.admin
Methods in com.sun.enterprise.v3.admin that return FailurePolicy Modifier and Type Method Description FailurePolicySupplementalCommandExecutorImpl.SupplementalCommandImpl. onFailure() -
Uses of FailurePolicy in org.glassfish.api.admin
Methods in org.glassfish.api.admin that return FailurePolicy Modifier and Type Method Description FailurePolicyifFailure()Identifies the expected behavior from the framework if any of the clustered invocation failed.FailurePolicyifFailure()Indicates to the framework what type of action should be taken if the execution of this command was to return a failure exit code.FailurePolicyifNeverStarted()Identifies the expected behavior from the framework if any of the clustered invocation could not be invoked because the remote server has never been started.FailurePolicyifOffline()Identifies the expected behaviour from the framework if any of the clustered invocation could not be invoked because the remote server was offline.FailurePolicySupplementalCommandExecutor.SupplementalCommand. onFailure()FailurePolicyvalue()Returns the intent action to perform if the annotated method does not execute successfully (expressed by a faulty error code or an exception thrown).static FailurePolicyFailurePolicy. valueOf(String name)Returns the enum constant of this type with the specified name.static FailurePolicy[]FailurePolicy. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.glassfish.api.admin with parameters of type FailurePolicy Modifier and Type Method Description static ActionReport.ExitCodeFailurePolicy. applyFailurePolicy(FailurePolicy f, ActionReport.ExitCode e)
-