Android Open Source - Qachee Expiration Time






From Project

Back to project page Qachee.

License

The source code is released under:

Apache License

If you think the Android project Qachee listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.qachee;
/*from w w  w  .j  ava2 s . co  m*/
import android.support.annotation.IntDef;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * Class that is used to set the Expiration Time policy in Qachee.
 */
public final class ExpirationTime {

  @Retention(RetentionPolicy.SOURCE)
  @IntDef({TEN_SECONDS, THIRTY_SECONDS, ONE_MINUTE, TWO_MINUTES, TEN_MINUTES, TWENTY_MINUTES})
  public @interface ExpirationPolicy {
  }

  public static final long TEN_SECONDS = 10000;
  public static final long THIRTY_SECONDS = 30000;
  public static final long ONE_MINUTE = 60000;
  public static final long TWO_MINUTES = 120000;
  public static final long TEN_MINUTES = 600000;
  public static final long TWENTY_MINUTES = 1200000;

}




Java Source Code List

com.qachee.ExpirationTime.java
com.qachee.QacheeManager.java
com.qachee.QacheeableObject.java
com.qachee.Qacheeable.java
com.qachee.sample.DemoLoader.java
com.qachee.sample.MainActivity.java
com.qachee.sample.adapter.CharacterAdapter.java
com.qachee.sample.domain.Character.java
com.qachee.sample.fragment.CharacterEditFragment.java
com.qachee.sample.fragment.CharacterListFragment.java
com.qachee.sample.task.SafeAsyncTask.java
com.qachee.sample.view.CharacterItemView.java