|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Duration | |
---|---|
org.apache.wicket.ajax | |
org.apache.wicket.ajax.calldecorator | |
org.apache.wicket.ajax.form | |
org.apache.wicket.page | |
org.apache.wicket.request.http | |
org.apache.wicket.request.resource | |
org.apache.wicket.settings | |
org.apache.wicket.settings.def | |
org.apache.wicket.util.string | String utilities. |
org.apache.wicket.util.tester | A package with utility classes to ease unit testing of Wicket applications without the need for a servlet container. |
org.apache.wicket.util.thread | Threading utilities. |
org.apache.wicket.util.time |
Utilities for working with Time (s). |
org.apache.wicket.util.value | This package provides casting utilities. |
org.apache.wicket.util.watch | This package provides modification watchers. |
Uses of Duration in org.apache.wicket.ajax |
---|
Methods in org.apache.wicket.ajax that return Duration | |
---|---|
Duration |
AbstractAjaxTimerBehavior.getUpdateInterval()
Returns the update interval |
Methods in org.apache.wicket.ajax with parameters of type Duration | |
---|---|
protected java.lang.String |
AbstractAjaxTimerBehavior.getJsTimeoutCall(Duration updateInterval)
|
AjaxEventBehavior |
AjaxEventBehavior.setThrottleDelay(Duration throttleDelay)
Sets the throttle delay for this behavior. |
protected void |
AbstractAjaxTimerBehavior.setUpdateInterval(Duration updateInterval)
Sets the update interval duration. |
static java.lang.CharSequence |
AbstractDefaultAjaxBehavior.throttleScript(java.lang.CharSequence script,
java.lang.String throttleId,
Duration throttleDelay)
Wraps the provided javascript with a throttled block. |
Constructors in org.apache.wicket.ajax with parameters of type Duration | |
---|---|
AbstractAjaxTimerBehavior(Duration updateInterval)
Construct. |
|
AjaxSelfUpdatingTimerBehavior(Duration updateInterval)
Construct. |
Uses of Duration in org.apache.wicket.ajax.calldecorator |
---|
Constructors in org.apache.wicket.ajax.calldecorator with parameters of type Duration | |
---|---|
AjaxCallThrottlingDecorator(IAjaxCallDecorator decorator,
java.lang.String id,
Duration delay)
Construct. |
|
AjaxCallThrottlingDecorator(java.lang.String id,
Duration delay)
Construct. |
Uses of Duration in org.apache.wicket.ajax.form |
---|
Methods in org.apache.wicket.ajax.form with parameters of type Duration | |
---|---|
static void |
AjaxFormValidatingBehavior.addToAllFormComponents(Form<?> form,
java.lang.String event,
Duration throttleDelay)
Adds this behavior to all form components of the specified form |
Uses of Duration in org.apache.wicket.page |
---|
Methods in org.apache.wicket.page that return Duration | |
---|---|
Duration |
CouldNotLockPageException.getTimeout()
|
Constructors in org.apache.wicket.page with parameters of type Duration | |
---|---|
CouldNotLockPageException(int page,
java.lang.String threadName,
Duration timeout)
Construct. |
|
PageAccessSynchronizer(Duration timeout)
Constructor |
Uses of Duration in org.apache.wicket.request.http |
---|
Fields in org.apache.wicket.request.http declared as Duration | |
---|---|
static Duration |
WebResponse.MAX_CACHE_DURATION
Recommended value for cache duration |
Methods in org.apache.wicket.request.http with parameters of type Duration | |
---|---|
void |
WebResponse.enableCaching(Duration duration,
WebResponse.CacheScope scope)
Make this response cacheable |
Uses of Duration in org.apache.wicket.request.resource |
---|
Methods in org.apache.wicket.request.resource that return Duration | |
---|---|
Duration |
AbstractResource.ResourceResponse.getCacheDuration()
returns how long this resource may be cached The special value Duration.NONE means caching is disabled. |
Methods in org.apache.wicket.request.resource with parameters of type Duration | |
---|---|
void |
AbstractResource.ResourceResponse.setCacheDuration(Duration duration)
Controls how long this response may be cached |
Uses of Duration in org.apache.wicket.settings |
---|
Methods in org.apache.wicket.settings that return Duration | |
---|---|
Duration |
IResourceSettings.getDefaultCacheDuration()
Get the the default cache duration for resources. |
Duration |
IResourceSettings.getResourcePollFrequency()
|
Duration |
IRequestCycleSettings.getTimeout()
Gets the time that a request will by default be waiting for the previous request to be handled before giving up. |
Methods in org.apache.wicket.settings with parameters of type Duration | |
---|---|
void |
IResourceSettings.setDefaultCacheDuration(Duration defaultDuration)
Set the the default cache duration for resources. |
void |
IResourceSettings.setResourcePollFrequency(Duration resourcePollFrequency)
Sets the resource polling frequency. |
void |
IRequestCycleSettings.setTimeout(Duration timeout)
Sets the time that a request will by default be waiting for the previous request to be handled before giving up. |
Uses of Duration in org.apache.wicket.settings.def |
---|
Methods in org.apache.wicket.settings.def that return Duration | |
---|---|
Duration |
ResourceSettings.getDefaultCacheDuration()
|
Duration |
ResourceSettings.getResourcePollFrequency()
|
Duration |
RequestCycleSettings.getTimeout()
|
Methods in org.apache.wicket.settings.def with parameters of type Duration | |
---|---|
void |
ResourceSettings.setDefaultCacheDuration(Duration duration)
|
void |
ResourceSettings.setResourcePollFrequency(Duration resourcePollFrequency)
|
void |
RequestCycleSettings.setTimeout(Duration timeout)
|
Uses of Duration in org.apache.wicket.util.string |
---|
Methods in org.apache.wicket.util.string that return Duration | |
---|---|
Duration |
StringValue.toDuration()
Convert this text to a Duration instance. |
Duration |
StringValue.toDuration(Duration defaultValue)
Convert to primitive types, returning default value if text is null. |
Duration |
StringValue.toOptionalDuration()
Convert to object types, returning null if text is null. |
Methods in org.apache.wicket.util.string with parameters of type Duration | |
---|---|
Duration |
StringValue.toDuration(Duration defaultValue)
Convert to primitive types, returning default value if text is null. |
Uses of Duration in org.apache.wicket.util.tester |
---|
Methods in org.apache.wicket.util.tester that return Duration | |
---|---|
protected Duration |
BaseWicketTester.getResourcePollFrequency()
By default Modification Watcher is disabled by default for the tests. |
Uses of Duration in org.apache.wicket.util.thread |
---|
Methods in org.apache.wicket.util.thread with parameters of type Duration | |
---|---|
void |
Task.run(Duration frequency,
ICode code)
Runs this Task at the given frequency. |
Uses of Duration in org.apache.wicket.util.time |
---|
Fields in org.apache.wicket.util.time declared as Duration | |
---|---|
static Duration |
Duration.MAXIMUM
Constant for maximum duration. |
static Duration |
Duration.NONE
Constant for no duration. |
static Duration |
Duration.ONE_DAY
Constant for one day. |
static Duration |
Duration.ONE_HOUR
Constant for one hour. |
static Duration |
Duration.ONE_MINUTE
Constant for on minute. |
static Duration |
Duration.ONE_SECOND
Constant for one second. |
static Duration |
Duration.ONE_WEEK
Constant for one week. |
Methods in org.apache.wicket.util.time that return Duration | |
---|---|
Duration |
Duration.add(Duration duration)
Adds a given Duration to this Duration . |
static Duration |
Duration.benchmark(ICode code,
org.slf4j.Logger log)
Benchmark the given command. |
static Duration |
Duration.benchmark(java.lang.Runnable code)
Benchmark the given command. |
static Duration |
Duration.days(double days)
Retrieves the Duration based on days. |
static Duration |
Duration.days(int days)
Retrieves the Duration based on days. |
static Duration |
Duration.elapsed(Time start)
Calculates the amount of time elapsed since start time. |
Duration |
Time.elapsedSince()
Calculates the amount of time that has elapsed since this Time value. |
Duration |
Time.fromNow()
Retrieves the Duration from now to this Time value. |
Duration |
TimeFrame.getDuration()
Retrieves the Duration of this TimeFrame . |
static Duration |
Duration.hours(double hours)
Retrieves the Duration based on hours. |
static Duration |
Duration.hours(int hours)
Retrieves the Duration based on hours. |
static Duration |
Duration.milliseconds(double milliseconds)
Retrieves the Duration based on milliseconds. |
static Duration |
Duration.milliseconds(long milliseconds)
Retrieves the Duration based on milliseconds. |
static Duration |
Duration.minutes(double minutes)
Retrieves the Duration based on minutes. |
static Duration |
Duration.minutes(int minutes)
Retrieves the Duration based on minutes. |
static Duration |
Duration.seconds(double seconds)
Retrieves the Duration based on seconds. |
static Duration |
Duration.seconds(int seconds)
Retrieves the Duration based on seconds. |
Duration |
Duration.subtract(Duration that)
Subtracts a given Duration from this Duration . |
Duration |
Time.subtract(Time that)
Subtract time from this and returns the difference as a Duration object. |
static Duration |
Duration.valueOf(long time)
Retrieves the given long as a Duration . |
static Duration |
Duration.valueOf(java.lang.String string)
Converts the given String to a new Duration object. |
static Duration |
Duration.valueOf(java.lang.String string,
java.util.Locale locale)
Converts the given String to a new Duration object. |
Methods in org.apache.wicket.util.time with parameters of type Duration | |
---|---|
Time |
Time.add(Duration duration)
Adds the given Duration to this Time object, moving the time into
the future. |
Duration |
Duration.add(Duration duration)
Adds a given Duration to this Duration . |
Time |
Time.subtract(Duration duration)
Subtracts the given Duration from this Time object, moving the time
into the past. |
Duration |
Duration.subtract(Duration that)
Subtracts a given Duration from this Duration . |
static TimeOfDay |
TimeOfDay.valueOf(Duration duration)
Converts a Duration instance to a TimeOfDay instance. |
static TimeFrame |
TimeFrame.valueOf(Time start,
Duration duration)
Creates a TimeFrame for a start Time and Duration . |
Uses of Duration in org.apache.wicket.util.value |
---|
Methods in org.apache.wicket.util.value that return Duration | |
---|---|
Duration |
ValueMap.getAsDuration(java.lang.String key)
|
Duration |
IValueMap.getAsDuration(java.lang.String key)
Retrieves a Duration value by key. |
Duration |
CopyOnWriteValueMap.getAsDuration(java.lang.String key)
|
Duration |
ValueMap.getAsDuration(java.lang.String key,
Duration defaultValue)
|
Duration |
IValueMap.getAsDuration(java.lang.String key,
Duration defaultValue)
Retrieves a Duration value by key. |
Duration |
CopyOnWriteValueMap.getAsDuration(java.lang.String key,
Duration defaultValue)
|
Duration |
ValueMap.getDuration(java.lang.String key)
|
Duration |
IValueMap.getDuration(java.lang.String key)
Retrieves a Duration by key. |
Duration |
CopyOnWriteValueMap.getDuration(java.lang.String key)
|
Methods in org.apache.wicket.util.value with parameters of type Duration | |
---|---|
Duration |
ValueMap.getAsDuration(java.lang.String key,
Duration defaultValue)
|
Duration |
IValueMap.getAsDuration(java.lang.String key,
Duration defaultValue)
Retrieves a Duration value by key. |
Duration |
CopyOnWriteValueMap.getAsDuration(java.lang.String key,
Duration defaultValue)
|
Uses of Duration in org.apache.wicket.util.watch |
---|
Methods in org.apache.wicket.util.watch with parameters of type Duration | |
---|---|
void |
ModificationWatcher.start(Duration pollFrequency)
|
void |
IModificationWatcher.start(Duration pollFrequency)
Starts watching at a given Duration polling rate. |
Constructors in org.apache.wicket.util.watch with parameters of type Duration | |
---|---|
ModificationWatcher(Duration pollFrequency)
Constructor that accepts a Duration argument representing the poll frequency. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |