This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
thinkgeo.mapsuite.core.featurecache [2015/08/20 03:08] 127.0.0.1 external edit |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== ThinkGeo.MapSuite.Core.FeatureCache ====== | ||
- | |||
- | |||
- | |||
- | <!-- Class --> | ||
- | FeatureCache is a cache system used in FeatureSource to speed up the fetching data system. | ||
- | === Remarks === | ||
- | The FeatureCache system uses the BoundingBox as the "Key" to cache the features. For example, if I first get data for a BoundingBox(BoundingBox1) and cache the features within the BoundingBox, in the future if I want to get the features within another BoundingBox(BoundingBox2) which is within BoundingBox1, I will get the features directly from the FeatureCache instead of from FileSystem or DBSystem. | ||
- | ===== Inheritance Hierarchy ===== | ||
- | *System.Object | ||
- | **[[ThinkGeo.MapSuite.Core.FeatureCache]] | ||
- | ===== Members Summary ===== | ||
- | ==== Public Constructors ==== | ||
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | ||
- | | {{wiki:PublicMethod.gif|Public Method}}[[#FeatureCache()|FeatureCache]] | | | This is the default constructor that will create a new instance of the FeatureCache. | | ||
- | |||
- | ==== Protected Constructors ==== | ||
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | ||
- | |||
- | ==== Public Methods ==== | ||
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | ||
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Add(RectangleShape, Collection<Feature>)|Add]] | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]], Collection<[[ThinkGeo.MapSuite.Core.Feature|Feature]]> | | This method will add an item to the FeatureCache system by passing a WorldExtent as "Key" and a collection of features as its corresponding cached features. | | ||
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Clear()|Clear]] | | | This method clears all of the CachedItems in this FeatureCache. | | ||
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Close()|Close]] | | | The default implementation is to do nothing. | | ||
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Equals(Object)|Equals]] | Object | Object | | | ||
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetFeatures(RectangleShape)|GetFeatures]] | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | | This method returns a Collection of Features cached in the FeatureCache system. All of the returning features are within the BoundingBox and were fetched from FileSystem or DBSystem in a previous operation. | | ||
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetHashCode()|GetHashCode]] | | Object | | | ||
- | | {{wiki:PublicMethod.gif|Public Method}}[[#GetType()|GetType]] | | Object | | | ||
- | | {{wiki:PublicMethod.gif|Public Method}}[[#IsExtentCached(RectangleShape)|IsExtentCached]] | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | | This method determines whether the WorldExtent is already cached in the FeatureCache System. | | ||
- | | {{wiki:PublicMethod.gif|Public Method}}[[#Open()|Open]] | | | The default implementation is to do nothing. | | ||
- | | {{wiki:PublicMethod.gif|Public Method}}[[#ToString()|ToString]] | | Object | | | ||
- | |||
- | ==== Protected Methods ==== | ||
- | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | ||
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#AddCore(RectangleShape, Collection<Feature>)|AddCore]] | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]], Collection<[[ThinkGeo.MapSuite.Core.Feature|Feature]]> | | This method will add an item to the FeatureCache system by passing a WorldExtent as "Key" and a collection of features as its corresponding cached features. | | ||
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#CloseCore()|CloseCore]] | | | The default implementation is to do nothing. | | ||
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#Finalize()|Finalize]] | | Object | | | ||
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#GetFeaturesCore(RectangleShape)|GetFeaturesCore]] | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | | This method returns a Collection of Features cached in the FeatureCache system. All of the returning features are within the BoundingBox and were fetched from FileSystem or DBSystem in a previous operation. | | ||
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#MemberwiseClone()|MemberwiseClone]] | | Object | | | ||
- | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#OpenCore()|OpenCore]] | | | The default implementation is to do nothing. | | ||
- | |||
- | ==== Public Properties ==== | ||
- | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | ||
- | | {{wiki:PublicProperty.gif|Public Property}}[[#IsActive|IsActive]] | Boolean | | This boolean property sepcifies whether cache system is active or not. | | ||
- | |||
- | ==== Protected Properties ==== | ||
- | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | ||
- | |||
- | ==== Public Events ==== | ||
- | ^ Name ^ Event Arguments ^ DeclaringType ^ Summary ^ | ||
- | |||
- | ===== Public Constructors ===== | ||
- | ==== FeatureCache() ==== | ||
- | This is the default constructor that will create a new instance of the FeatureCache. | ||
- | === Remarks === | ||
- | The cache system is not used by default. If you want to use it, you must set the <strong>IsActive</strong> property to true. | ||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | |||
- | [[#Public Constructors|Go Back]] | ||
- | ===== Protected Constructors ===== | ||
- | ===== Public Methods ===== | ||
- | ==== Add(RectangleShape, Collection<Feature>) ==== | ||
- | This method will add an item to the FeatureCache system by passing a WorldExtent as "Key" and a collection of features as its corresponding cached features. | ||
- | === Remarks === | ||
- | This method is the concrete wrapper for the virtual method AddCore. It will return whatever is returned by the AddCore method. To determine what the default implementation of the abstract AddCore method is, please see the documentation for it. | ||
- | |||
- | As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework. | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | Void<!-- System.Void --> | | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | | worldExtent | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> | | | ||
- | | features | Collection<[[ThinkGeo.MapSuite.Core.Feature|Feature]]><!-- System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.Core.Feature} --> | | | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.FeatureCache --> | ||
- | [[#Public Methods|Go Back]] | ||
- | ==== Clear() ==== | ||
- | This method clears all of the CachedItems in this FeatureCache. | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | Void<!-- System.Void --> | | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.FeatureCache --> | ||
- | [[#Public Methods|Go Back]] | ||
- | ==== Close() ==== | ||
- | The default implementation is to do nothing. | ||
- | === Remarks === | ||
- | This method is the concrete wrapper for the virtual method CloseCore. It will return whatever is returned by the CloseCore method. To determine what the default implementation of the abstract CloseCore method is, please see the documentation for it. | ||
- | |||
- | As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework. | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | Void<!-- System.Void --> | | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.FeatureCache --> | ||
- | [[#Public Methods|Go Back]] | ||
- | ==== Equals(Object) ==== | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | Boolean<!-- System.Boolean --> | | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | | obj | Object<!-- System.Object --> | | | ||
- | |||
- | <!-- System.Object --> | ||
- | [[#Public Methods|Go Back]] | ||
- | ==== GetFeatures(RectangleShape) ==== | ||
- | This method returns a Collection of Features cached in the FeatureCache system. All of the returning features are within the BoundingBox and were fetched from FileSystem or DBSystem in a previous operation. | ||
- | === Remarks === | ||
- | This method is the concrete wrapper for the virtual method GetFeaturesCore. It will return whatever is returned by the GetBoundingBoxCore method. To determine what the default implementation of the abstract GetBoundingBoxCore method is, please see the documentation for it. | ||
- | |||
- | As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework. | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | Collection<[[ThinkGeo.MapSuite.Core.Feature|Feature]]><!-- System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.Core.Feature} --> | This method returns a Collection of Features cached in the FeatureCache system. | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | | worldExtent | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> | | | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.FeatureCache --> | ||
- | [[#Public Methods|Go Back]] | ||
- | ==== GetHashCode() ==== | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | Int32<!-- System.Int32 --> | | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | |||
- | <!-- System.Object --> | ||
- | [[#Public Methods|Go Back]] | ||
- | ==== GetType() ==== | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | Type<!-- System.Type --> | | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | |||
- | <!-- System.Object --> | ||
- | [[#Public Methods|Go Back]] | ||
- | ==== IsExtentCached(RectangleShape) ==== | ||
- | This method determines whether the WorldExtent is already cached in the FeatureCache System. | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | Boolean<!-- System.Boolean --> | True if the specified WorldExtent is already cached. Otherwise, returns false. | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | | worldExtent | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> | The target WorldExtent which will be determined as already cached or not. | | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.FeatureCache --> | ||
- | [[#Public Methods|Go Back]] | ||
- | ==== Open() ==== | ||
- | The default implementation is to do nothing. | ||
- | === Remarks === | ||
- | This method is the concrete wrapper for the virtual method OpenCore. It will return whatever is returned by the OpenCore method. To determine what the default implementation of the abstract OpenCore method is, please see the documentation for it. | ||
- | |||
- | As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework. | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | Void<!-- System.Void --> | | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.FeatureCache --> | ||
- | [[#Public Methods|Go Back]] | ||
- | ==== ToString() ==== | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | String<!-- System.String --> | | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | |||
- | <!-- System.Object --> | ||
- | [[#Public Methods|Go Back]] | ||
- | ===== Protected Methods ===== | ||
- | ==== AddCore(RectangleShape, Collection<Feature>) ==== | ||
- | This method will add an item to the FeatureCache system by passing a WorldExtent as "Key" and a collection of features as its corresponding cached features. | ||
- | === Remarks === | ||
- | This method is the concrete wrapper for the virtual method AddCore. It will return whatever is returned by the AddCore method. To determine what the default implementation of the abstract AddCore method is, please see the documentation for it. | ||
- | |||
- | As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework. | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | Void<!-- System.Void --> | | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | | worldExtent | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> | | | ||
- | | features | Collection<[[ThinkGeo.MapSuite.Core.Feature|Feature]]><!-- System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.Core.Feature} --> | | | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.FeatureCache --> | ||
- | [[#Protected Methods|Go Back]] | ||
- | ==== CloseCore() ==== | ||
- | The default implementation is to do nothing. | ||
- | === Remarks === | ||
- | This method is the concrete wrapper for the virtual method CloseCore. It will return whatever is returned by the CloseCore method. To determine what the default implementation of the abstract CloseCore method is, please see the documentation for it. | ||
- | |||
- | As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework. | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | Void<!-- System.Void --> | | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.FeatureCache --> | ||
- | [[#Protected Methods|Go Back]] | ||
- | ==== Finalize() ==== | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | Void<!-- System.Void --> | | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | |||
- | <!-- System.Object --> | ||
- | [[#Protected Methods|Go Back]] | ||
- | ==== GetFeaturesCore(RectangleShape) ==== | ||
- | This method returns a Collection of Features cached in the FeatureCache system. All of the returning features are within the BoundingBox and were fetched from FileSystem or DBSystem in a previous operation. | ||
- | === Remarks === | ||
- | This method is the concrete wrapper for the virtual method GetFeaturesCore. It will return whatever is returned by the GetBoundingBoxCore method. To determine what the default implementation of the abstract GetBoundingBoxCore method is, please see the documentation for it. | ||
- | |||
- | As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework. | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | Collection<[[ThinkGeo.MapSuite.Core.Feature|Feature]]><!-- System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.Core.Feature} --> | This method returns a Collection of Features cached in the FeatureCache system. | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | | worldExtent | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> | | | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.FeatureCache --> | ||
- | [[#Protected Methods|Go Back]] | ||
- | ==== MemberwiseClone() ==== | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | Object<!-- System.Object --> | | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | |||
- | <!-- System.Object --> | ||
- | [[#Protected Methods|Go Back]] | ||
- | ==== OpenCore() ==== | ||
- | The default implementation is to do nothing. | ||
- | === Remarks === | ||
- | This method is the concrete wrapper for the virtual method OpenCore. It will return whatever is returned by the OpenCore method. To determine what the default implementation of the abstract OpenCore method is, please see the documentation for it. | ||
- | |||
- | As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework. | ||
- | === Return Value === | ||
- | ^ Return Type ^ Description ^ | ||
- | | Void<!-- System.Void --> | | | ||
- | |||
- | === Parameters === | ||
- | ^ Name ^ Type ^ Description ^ | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.FeatureCache --> | ||
- | [[#Protected Methods|Go Back]] | ||
- | ===== Public Properties ===== | ||
- | ==== IsActive ==== | ||
- | This boolean property sepcifies whether cache system is active or not. | ||
- | === Return Value === | ||
- | ^ Return Type ^ | ||
- | | Boolean<!-- System.Boolean --> | | ||
- | |||
- | <!-- ThinkGeo.MapSuite.Core.FeatureCache --> | ||
- | [[#Public Properties|Go Back]] | ||
- | ===== Protected Properties ===== | ||
- | ===== Public Events ===== | ||
- | __NOTOC__ | ||
- | [[Category:MapSuiteCore]] | ||
- | [[Category:ThinkGeo.MapSuite.Core]] | ||
- | [[Category:UpdateDocumentation]] | ||
8501 Wade Blvd Ste 550
Frisco, TX 75034
United States
sales@thinkgeo.com
1-785-727-4133
Online Store
- Desktop
WPF
WinForms
- Web
WebAPI HTML5/JavaScript
ASP.NET MVC
WebForms with AJAX
- Mobile
iOS
Android™
World Street
World Imagery
Routing
Geocoding
Reverse Geocoding
Elevation
Quick Start Guides
Documentation
Blogs
Discussion Forums
Customer Portal
About Us
News & Announcemets
Privacy Policy
Copyright 2003-2017 ThinkGeo LLC.
All rights reserved.