Android Open Source - Qachee Qacheeable






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  a  va  2s  . com
/**
 * Qacheeable
 */
public interface Qacheeable {

  /**
   * Returns the key value that will be the key that reference the value.
   * Typically you will use the "id" of the Database but you can also use
   * the hashcode value.
   *
   * @return the key
   */
  String getKey();


  /**
   * Returns the last updated time in milliseconds.
   *
   * @return The last updated time in milliseconds.
   */
  long lastUpdate();

  /**
   * Updates the last updated time value.
   */
  void update();

}




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