com.foxinmy.weixin4j.cache
Interface Cacheable

All Superinterfaces:
Serializable
All Known Implementing Classes:
Token

public interface Cacheable
extends Serializable

可缓存的对象

Since:
JDK 1.6
Author:
jinyu(foxinmy@gmail.com)
See Also:

Method Summary
 long getCreateTime()
          创建时间(单位:毫秒)
 long getExpires()
          过期时间(单位:毫秒),值小于0时视为永不过期
 

Method Detail

getExpires

long getExpires()
过期时间(单位:毫秒),值小于0时视为永不过期

Returns:
缓存过期时间

getCreateTime

long getCreateTime()
创建时间(单位:毫秒)

Returns:
缓存对象创建时间


Copyright © 2014–2017. All rights reserved.