Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move Operation into separate class #35

Merged
merged 2 commits into from
Feb 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions src/main/java/org/dpdirect/dpmgmt/DPCustomOp.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,11 @@
import java.util.List;
import java.util.concurrent.TimeUnit;

import org.dpdirect.dpmgmt.DPDirectBase.Operation;
import org.dpdirect.dpmgmt.DPDirectBase.Operation.Option;
import org.dpdirect.utils.FileUtils;

import static org.dpdirect.dpmgmt.Defaults.DEFAULT_POLL_INT_MILLIS;
import static org.dpdirect.dpmgmt.Defaults.DEFAULT_WAIT_TIME_SECONDS;

/**
* Class for the management of IBM DataPower device via the XML management
* interface.
Expand Down Expand Up @@ -94,7 +95,7 @@ public static int getDefaultTailLines() {
/**
* The log poll interval as a value in milliseconds.
*/
protected int pollIntMillis = DPDirectBase.getDefaultPollIntMillis();
protected int pollIntMillis = DEFAULT_POLL_INT_MILLIS;

/**
* The tail-log poll interval as a value in milliseconds.
Expand All @@ -104,7 +105,7 @@ public static int getDefaultTailLines() {
/**
* The tail-count (message-counts) poll interval as a value in milliseconds.
*/
public static int COUNT_POLL_INT_MILLIS = DPDirectBase.getDefaultPollIntMillis();
public static int COUNT_POLL_INT_MILLIS = DEFAULT_WAIT_TIME_SECONDS;

/**
* HashMap of all custom operations configured for this class,
Expand Down
Loading