Package | Description |
---|---|
dk.heick.caching | |
dk.heick.caching.utils |
Modifier and Type | Method and Description |
---|---|
TimeSpan |
LRUCachingMap.getExpirationTimeSpan()
The timespan in milliseconds, between the oldest and youngest key
|
TimeSpan |
DefaultLRUCachingMap.getExpirationTimeSpan() |
TimeSpan |
LRUCachingMap.getExpirationTimeSpan(K key)
Gets the expiration timespan for a key.
|
TimeSpan |
DefaultLRUCachingMap.getExpirationTimeSpan(K key) |
Modifier and Type | Method and Description |
---|---|
DefaultLRUCachingMapConfiguration |
DefaultLRUCachingMapConfiguration.setCleanupIntervalTimeSpan(TimeSpan cleanupIntervalTimeSpan)
Sets the cleanupIntervalTime using a TimeSpan.
|
DefaultLRUCachingMapConfiguration |
DefaultLRUCachingMapConfiguration.setExpireTimeSpan(TimeSpan expireTimeSpan)
Sets the expireTime using a TimeSpan.
|
DefaultLRUCachingMapConfiguration |
DefaultLRUCachingMapConfiguration.setExtendTimeSpan(TimeSpan extendTimeSpan)
Sets the extendTime using a TimeSpan.
|
Constructor and Description |
---|
DefaultLRUCachingMapConfiguration(TimeSpan expireTime,
TimeSpan extendTime,
int maxExtendCount,
int maxSize,
TimeSpan cleanupInterval,
boolean persistedValuesInMemory)
Constructor.
|
Modifier and Type | Field and Description |
---|---|
static TimeSpan |
TimeSpan.DAYS_01
1 day
|
static TimeSpan |
TimeSpan.DAYS_02
2 days
|
static TimeSpan |
TimeSpan.DAYS_03
3 days
|
static TimeSpan |
TimeSpan.DAYS_04
4 days
|
static TimeSpan |
TimeSpan.DAYS_05
5 days
|
static TimeSpan |
TimeSpan.DAYS_06
6 days
|
static TimeSpan |
TimeSpan.DAYS_07
7 days
|
static TimeSpan |
TimeSpan.DAYS_08
8 days
|
static TimeSpan |
TimeSpan.DAYS_09
9 days
|
static TimeSpan |
TimeSpan.DAYS_10
10 days
|
static TimeSpan |
TimeSpan.DAYS_11
11 days
|
static TimeSpan |
TimeSpan.DAYS_12
12 days
|
static TimeSpan |
TimeSpan.DAYS_13
13 days
|
static TimeSpan |
TimeSpan.DAYS_14
14 days
|
static TimeSpan |
TimeSpan.DAYS_15
15 days
|
static TimeSpan |
TimeSpan.DAYS_16
16 days
|
static TimeSpan |
TimeSpan.DAYS_17
17 days
|
static TimeSpan |
TimeSpan.DAYS_18
18 days
|
static TimeSpan |
TimeSpan.DAYS_19
19 days
|
static TimeSpan |
TimeSpan.DAYS_20
20 days
|
static TimeSpan |
TimeSpan.DAYS_21
21 days
|
static TimeSpan |
TimeSpan.DAYS_22
22 days
|
static TimeSpan |
TimeSpan.DAYS_23
23 days
|
static TimeSpan |
TimeSpan.DAYS_24
24 days
|
static TimeSpan |
TimeSpan.DAYS_25
25 days
|
static TimeSpan |
TimeSpan.DAYS_26
26 days
|
static TimeSpan |
TimeSpan.DAYS_27
27 days
|
static TimeSpan |
TimeSpan.DAYS_28
28 days
|
static TimeSpan |
TimeSpan.DAYS_29
29 days
|
static TimeSpan |
TimeSpan.DAYS_30
30 days
|
static TimeSpan |
TimeSpan.DAYS_31
31 days
|
static TimeSpan |
TimeSpan.HOURS_01
1 hour
|
static TimeSpan |
TimeSpan.HOURS_02
2 hours
|
static TimeSpan |
TimeSpan.HOURS_03
3 hours
|
static TimeSpan |
TimeSpan.HOURS_04
4 hours
|
static TimeSpan |
TimeSpan.HOURS_05
5 hours
|
static TimeSpan |
TimeSpan.HOURS_06
6 hours
|
static TimeSpan |
TimeSpan.HOURS_07
7 hours
|
static TimeSpan |
TimeSpan.HOURS_08
8 hours
|
static TimeSpan |
TimeSpan.HOURS_09
9 hours
|
static TimeSpan |
TimeSpan.HOURS_10
10 hours
|
static TimeSpan |
TimeSpan.HOURS_11
11 hours
|
static TimeSpan |
TimeSpan.HOURS_12
12 hours
|
static TimeSpan |
TimeSpan.HOURS_13
13 hours
|
static TimeSpan |
TimeSpan.HOURS_14
14 hours
|
static TimeSpan |
TimeSpan.HOURS_15
15 hours
|
static TimeSpan |
TimeSpan.HOURS_16
16 hours
|
static TimeSpan |
TimeSpan.HOURS_17
17 hours
|
static TimeSpan |
TimeSpan.HOURS_18
18 hours
|
static TimeSpan |
TimeSpan.HOURS_19
19 hours
|
static TimeSpan |
TimeSpan.HOURS_20
20 hours
|
static TimeSpan |
TimeSpan.HOURS_21
21 hours
|
static TimeSpan |
TimeSpan.HOURS_22
22 hours
|
static TimeSpan |
TimeSpan.HOURS_23
23 hours
|
static TimeSpan |
TimeSpan.HOURS_24
24 hours
|
static TimeSpan |
TimeSpan.MINUTES_01
1 minut
|
static TimeSpan |
TimeSpan.MINUTES_02
2 minutes
|
static TimeSpan |
TimeSpan.MINUTES_03
3 minutes
|
static TimeSpan |
TimeSpan.MINUTES_04
4 minutes
|
static TimeSpan |
TimeSpan.MINUTES_05
5 minutes
|
static TimeSpan |
TimeSpan.MINUTES_10
10 minutes
|
static TimeSpan |
TimeSpan.MINUTES_15
15 minutes
|
static TimeSpan |
TimeSpan.MINUTES_20
20 minutes
|
static TimeSpan |
TimeSpan.MINUTES_25
25 minutes
|
static TimeSpan |
TimeSpan.MINUTES_30
30 minutes
|
static TimeSpan |
TimeSpan.MINUTES_35
35 minutes
|
static TimeSpan |
TimeSpan.MINUTES_40
40 minutes
|
static TimeSpan |
TimeSpan.MINUTES_45
45 minutes
|
static TimeSpan |
TimeSpan.MINUTES_50
50 minutes
|
static TimeSpan |
TimeSpan.MINUTES_55
55 minutes
|
static TimeSpan |
TimeSpan.MINUTES_60
60 minutes
|
static TimeSpan |
TimeSpan.MONTHS_1
1 month - 31 days
|
static TimeSpan |
TimeSpan.MONTHS_12
12 months - 12x 31 days
|
static TimeSpan |
TimeSpan.MONTHS_2
2 months - 2x 31 days
|
static TimeSpan |
TimeSpan.MONTHS_3
3 months - 3x 31 days
|
static TimeSpan |
TimeSpan.MONTHS_6
6 months - 6x 31 days
|
static TimeSpan |
TimeSpan.MONTHS_9
9 months - 9x 31 days
|
static TimeSpan |
TimeSpan.SECONDS_01
1 second
|
static TimeSpan |
TimeSpan.SECONDS_15
15 seconds
|
static TimeSpan |
TimeSpan.SECONDS_30
30 seconds
|
static TimeSpan |
TimeSpan.SECONDS_45
45 seconds
|
static TimeSpan |
TimeSpan.SECONDS_60
60seconds
|
static TimeSpan |
TimeSpan.WEEKS_1
1 week - 7 days
|
static TimeSpan |
TimeSpan.WEEKS_2
2 weeks - 14 days
|
static TimeSpan |
TimeSpan.WEEKS_3
3 weeks - 21 days
|
static TimeSpan |
TimeSpan.WEEKS_4
4 weeks - 28 days
|
static TimeSpan |
TimeSpan.YEARS_1
1 year - 365 days
|
static TimeSpan |
TimeSpan.YEARS_10
10 years - 10x 365 days
|
static TimeSpan |
TimeSpan.YEARS_100
100 years - 100x 365 days
|
static TimeSpan |
TimeSpan.YEARS_2
2 years - 2x 365 days
|
static TimeSpan |
TimeSpan.YEARS_25
25 years - 25x 365 days
|
static TimeSpan |
TimeSpan.YEARS_3
3 years - 3x 365 days
|
static TimeSpan |
TimeSpan.YEARS_5
5 years - 5x 365 days
|
static TimeSpan |
TimeSpan.YEARS_50
50 years - 50x 365 days
|
static TimeSpan |
TimeSpan.ZERO
0 time
|
Modifier and Type | Method and Description |
---|---|
TimeSpan |
TimeSpan.add(long milliseconds)
Adds a milliseconds value to the current TimeSpan in a new TimeSpan instance.
|
TimeSpan |
TimeSpan.add(TimeSpan value)
Adds a TimeSpan value to the current TimeSpan in a new TimeSpan instance.
|
TimeSpan |
TimeSpan.add(TimeSpan value,
int factor)
Adds a TimeSpan value, which is multiplied with a factor, to the current TimeSpan in a new TimeSpan instance.
|
static TimeSpan |
TimeSpan.diff(TimeSpan t1,
TimeSpan t2)
The Math.abs() differences between two timespans.
|
static TimeSpan |
TimeSpan.getDays(int days)
Generates a Timespan of X days.
|
static TimeSpan |
TimeSpan.getHours(int hours)
Generates a Timespan of X hours.
|
static TimeSpan |
TimeSpan.getMilliSeconds(int milliSeconds)
Generates a Timespan of X years.
|
static TimeSpan |
TimeSpan.getMinutes(int minutes)
Generates a Timespan of X minutes.
|
static TimeSpan |
TimeSpan.getMonths(int months)
Generates a Timespan of X months.
|
static TimeSpan |
TimeSpan.getSeconds(int seconds)
Generates a Timespan of X years.
|
static TimeSpan |
TimeSpan.getWeeks(int weeks)
Generates a Timespan of X weeks.
|
static TimeSpan |
TimeSpan.getYears(int years)
Generates a Timespan of X years.
|
TimeSpan |
TimeSpan.multiply(double factor)
Multiplies the current Timespan with a double factor in a new TimeSpan instance.
|
static TimeSpan |
TimeSpan.parse(Date from)
Constructs a TimeSpan instance on the basis of the difference between a date and the NOW date.
|
static TimeSpan |
TimeSpan.parse(Date from,
Date to)
Constructs a TimeSpan instance on the basis of the difference between to date instances.
|
static TimeSpan |
TimeSpan.parse(String textValue)
Concstructs a TimeSpan instance of the basis string value parsing.
|
TimeSpan |
TimeSpan.substract(long milliseconds)
Subtracts a milliseconds value to the current TimeSpan in a new TimeSpan instance.
|
TimeSpan |
TimeSpan.substract(TimeSpan value)
Subtracts a TimeSpan value to the current in a new TimeSpan instance.
|
TimeSpan |
TimeSpan.substract(TimeSpan value,
int factor)
Subtracts a TimeSpan value, which is mulitiplied with a factor, to the current TimeSpan in a new TimeSpan instance.
|
Modifier and Type | Method and Description |
---|---|
TimeSpan |
TimeSpan.add(TimeSpan value)
Adds a TimeSpan value to the current TimeSpan in a new TimeSpan instance.
|
TimeSpan |
TimeSpan.add(TimeSpan value,
int factor)
Adds a TimeSpan value, which is multiplied with a factor, to the current TimeSpan in a new TimeSpan instance.
|
int |
TimeSpan.compareTo(TimeSpan o)
Compares this TimeSpan with another on the "getSpan()"
|
static TimeSpan |
TimeSpan.diff(TimeSpan t1,
TimeSpan t2)
The Math.abs() differences between two timespans.
|
boolean |
TimeSpan.isGreatherThan(TimeSpan other)
Compares this with another TimeSpan, and determines if this is less than other.
|
boolean |
TimeSpan.isLessThan(TimeSpan other)
Compares this with another TimeSpan, and determines if this is greather than other.
|
TimeSpan |
TimeSpan.substract(TimeSpan value)
Subtracts a TimeSpan value to the current in a new TimeSpan instance.
|
TimeSpan |
TimeSpan.substract(TimeSpan value,
int factor)
Subtracts a TimeSpan value, which is mulitiplied with a factor, to the current TimeSpan in a new TimeSpan instance.
|
Copyright © 2016. All rights reserved.