GFactualGeocodeCache [class]-GoogleMaps/API/doc/ClassReference/42-GFactualGeocodeCache-N☆E 学習帳

[ リロード ]   [ ソース ]  [ トップ | 一覧 | 単語検索 | 最新 | バックアップ | ヘルプ ]

Counter: 2988, today: 1, yesterday: 0

GFactualGeocodeCache [class]

http://www.google.com/apis/maps/docu­mentation/

Version 2 (2006.6新規

This class refines the basic GGeocodeCache class by placing stricter conditions on cached replies. It only caches replies which are very unlikely to change within a short period of time.

Constructor

Constructor Description
GFactualGeocodeCache() Creates a new cache that stores only replies it considers factual. (Since 2.55)

 

Methods

Methods Return Value Description
isCachable(reply) Boolean Overrides the default implementation of this method to perform a more thorough check of the status code. Only a reply with Status.code set to G_GEO_SUCCESS, or known to be invalid, is considered cachable. Replies that timed out or resulted in a generic server error are not cached. (Since 2.55)