User Tools

Site Tools


thinkgeo.mapsuite.core.featurecache

This is an old revision of the document!


ThinkGeo.MapSuite.Core.FeatureCache

FeatureCache is a cache system used in FeatureSource to speed up the fetching data system.

Inheritance Hierarchy

  • System.Object
    • ThinkGeo.MapSuite.Core.FeatureCache

Members Summary

Public Constructors

FeatureCache

  • Parameters:N/A
  • DeclaringType:N/A
  • Summary:This is the default constructor that will create a new instance of the FeatureCache.

Protected Constructors

Public Methods

Add

  • Parameters:RectangleShape,Collection<Feature>
  • DeclaringType:N/A
  • Summary: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.

Clear

  • Parameters:N/A
  • DeclaringType:N/A
  • Summary:This method clears all of the CachedItems in this FeatureCache.

Close

  • Parameters:N/A
  • DeclaringType:N/A
  • Summary:The default implementation is to do nothing.

Equals

  • Parameters:Object
  • DeclaringType:Object
  • Summary:N/A

GetFeatures

  • Parameters:RectangleShape
  • DeclaringType:N/A
  • Summary: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.

GetHashCode

  • Parameters:N/A
  • DeclaringType:Object
  • Summary:N/A

GetType

  • Parameters:N/A
  • DeclaringType:Object
  • Summary:N/A

IsExtentCached

  • Parameters:RectangleShape
  • DeclaringType:N/A
  • Summary:This method determines whether the WorldExtent is already cached in the FeatureCache System.

Open

  • Parameters:N/A
  • DeclaringType:N/A
  • Summary:The default implementation is to do nothing.

ToString

  • Parameters:N/A
  • DeclaringType:Object
  • Summary:N/A

Protected Methods

AddCore

  • Parameters:RectangleShape,Collection<Feature>
  • DeclaringType:N/A
  • Summary: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.

CloseCore

  • Parameters:N/A
  • DeclaringType:N/A
  • Summary:The default implementation is to do nothing.

Finalize

  • Parameters:N/A
  • DeclaringType:Object
  • Summary:N/A

GetFeaturesCore

  • Parameters:RectangleShape
  • DeclaringType:N/A
  • Summary: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.

MemberwiseClone

  • Parameters:N/A
  • DeclaringType:Object
  • Summary:N/A

OpenCore

  • Parameters:N/A
  • DeclaringType:N/A
  • Summary:The default implementation is to do nothing.

Public Properties

IsActive

  • Return:Boolean
  • Summary:This boolean property sepcifies whether cache system is active or not.

Protected Properties

Public Events

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 IsActive property to true.

Parameters

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:Void
  • Description:None.

Parameters

worldExtent

features

  • Type:Collection<Feature>
  • Description:N/A

Go Back

Clear()

This method clears all of the CachedItems in this FeatureCache.

Remarks

N/A

Return Value

  • Return Type:Void
  • Description:N/A

Parameters

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:Void
  • Description:None.

Parameters

Equals(Object)

N/A

Remarks

N/A

Return Value

  • Return Type:Boolean
  • Description:N/A

Parameters

obj

  • Type:Object
  • Description:N/A

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:Collection<Feature>
  • Description:This method returns a Collection of Features cached in the FeatureCache system.

Parameters

worldExtent

Go Back

GetHashCode()

N/A

Remarks

N/A

Return Value

  • Return Type:Int32
  • Description:N/A

Parameters

GetType()

N/A

Remarks

N/A

Return Value

  • Return Type:Type
  • Description:N/A

Parameters

IsExtentCached(RectangleShape)

This method determines whether the WorldExtent is already cached in the FeatureCache System.

Remarks

N/A

Return Value

  • Return Type:Boolean
  • Description:True if the specified WorldExtent is already cached. Otherwise, returns false.

Parameters

worldExtent

  • Description:The target WorldExtent which will be determined as already cached or not.

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:Void
  • Description:None.

Parameters

ToString()

N/A

Remarks

N/A

Return Value

  • Return Type:String
  • Description:N/A

Parameters

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:Void
  • Description:None.

Parameters

worldExtent

features

  • Type:Collection<Feature>
  • Description:N/A

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:Void
  • Description:None.

Parameters

Finalize()

N/A

Remarks

N/A

Return Value

  • Return Type:Void
  • Description:N/A

Parameters

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:Collection<Feature>
  • Description:This method returns a Collection of Features cached in the FeatureCache system.

Parameters

worldExtent

Go Back

MemberwiseClone()

N/A

Remarks

N/A

Return Value

  • Return Type:Object
  • Description:N/A

Parameters

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:Void
  • Description:None.

Parameters

Public Properties

IsActive

This boolean property sepcifies whether cache system is active or not.

Remarks

N/A

Return Value

Return Type:Boolean

Go Back

Protected Properties

Public Events

thinkgeo.mapsuite.core.featurecache.1442485722.txt.gz · Last modified: 2015/09/17 10:28 by admin