com.octo.android.robospice.persistence
Interface DurationInMillis


public interface DurationInMillis

Utility interface to write durations. Its values can be used as helpers for the SpiceManager.execute method.

Author:
sni

Field Summary
static long ALWAYS
          Deprecated. 
static long ALWAYS_EXPIRED
          Data in cache will never be returned, a network call will always be performed.
static long ALWAYS_RETURNED
          Data in cache will always be returned.
static long NEVER
          Deprecated. 
static long ONE_DAY
           
static long ONE_HOUR
           
static long ONE_MINUTE
           
static long ONE_SECOND
           
static long ONE_WEEK
           
 

Field Detail

NEVER

@Deprecated
static final long NEVER
Deprecated. 
Data in cache will never be returned, a network call will always be performed.

See Also:
Constant Field Values

ALWAYS_EXPIRED

static final long ALWAYS_EXPIRED
Data in cache will never be returned, a network call will always be performed.

See Also:
Constant Field Values

ALWAYS

@Deprecated
static final long ALWAYS
Deprecated. 
Data in cache will always be returned. Thus a network call will only be performed once.

See Also:
Constant Field Values

ALWAYS_RETURNED

static final long ALWAYS_RETURNED
Data in cache will always be returned. Thus a network call will only be performed once.

See Also:
Constant Field Values

ONE_SECOND

static final long ONE_SECOND
See Also:
Constant Field Values

ONE_MINUTE

static final long ONE_MINUTE
See Also:
Constant Field Values

ONE_HOUR

static final long ONE_HOUR
See Also:
Constant Field Values

ONE_DAY

static final long ONE_DAY
See Also:
Constant Field Values

ONE_WEEK

static final long ONE_WEEK
See Also:
Constant Field Values


Copyright © 2012-2014. All Rights Reserved.