SchedulerTask

public class SchedulerTask implements ActiveTask

Fields

DATE_FORMAT

public static final String DATE_FORMAT

Formats

TIME_FORMAT

public static final String TIME_FORMAT

Methods

cleanAS2

protected Transaction cleanAS2(int months)

Attempt to clean out the AS2 database

Parameters:
  • months
Throws:

cleanEBMS

protected Transaction cleanEBMS(int months)

Attempt to clean the EBMS messages.

Parameters:
  • months
Throws:

execute

public void execute()

getMaxRetries

public int getMaxRetries()

getNextRunDateFromNow

public static Date getNextRunDateFromNow(int day_of_week, int hour, int min, int sec)

getRetryInterval

public long getRetryInterval()

isRetryEnabled

public boolean isRetryEnabled()

isSucceedFast

public boolean isSucceedFast()

onAwake

public void onAwake()

onFailure

public void onFailure(Throwable e)

setNextRunDateFromNow

public boolean setNextRunDateFromNow(AdminProperties properties)

setRetried

public void setRetried(int retried)