IncrementalChangeHandler
Stay organized with collections
Save and categorize content based on your preferences.
Known Indirect Subclasses
FullTraversalConnector |
Template connector that performs a full repository traversal and uploads every document. |
ListingConnector |
Template connector that performs complete repository list traversals. |
|
Interface for handling repository changes.
The main benefit for having the Connector
implement this interface is that it enables
the framework to schedule polling of incremental changes.
Public Methods
public
abstract
void
handleIncrementalChanges
()
Handles the Connector
specific implementation of incremental change notifications.
Throws
IOException |
if getting changes fails |
InterruptedException |
if an IO operations throws it
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-18 UTC.
[null,null,["Last updated 2025-03-18 UTC."],[],[],null,["# IncrementalChangeHandler\n\npublic interface **IncrementalChangeHandler** \n\n|---|---|---|\n| Known Indirect Subclasses [FullTraversalConnector](/workspace/cloud-search/docs/reference/sdk/com/google/enterprise/cloudsearch/sdk/indexing/template/FullTraversalConnector), [ListingConnector](/workspace/cloud-search/docs/reference/sdk/com/google/enterprise/cloudsearch/sdk/indexing/template/ListingConnector) |-----------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------| | [FullTraversalConnector](/workspace/cloud-search/docs/reference/sdk/com/google/enterprise/cloudsearch/sdk/indexing/template/FullTraversalConnector) | Template connector that performs a full repository traversal and uploads every document. | | [ListingConnector](/workspace/cloud-search/docs/reference/sdk/com/google/enterprise/cloudsearch/sdk/indexing/template/ListingConnector) | Template connector that performs complete repository list traversals. | |||\n\nInterface for handling repository changes.\n\nThe main benefit for having the [Connector](/workspace/cloud-search/docs/reference/sdk/com/google/enterprise/cloudsearch/sdk/Connector) implement this interface is that it enables\nthe framework to schedule polling of incremental changes. \n\n### Public Method Summary\n\n|---------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract void | [handleIncrementalChanges](/workspace/cloud-search/docs/reference/sdk/com/google/enterprise/cloudsearch/sdk/IncrementalChangeHandler#handleIncrementalChanges())() Handles the [Connector](/workspace/cloud-search/docs/reference/sdk/com/google/enterprise/cloudsearch/sdk/Connector) specific implementation of incremental change notifications. |\n\nPublic Methods\n--------------\n\n#### public abstract void\n**handleIncrementalChanges**\n()\n\nHandles the [Connector](/workspace/cloud-search/docs/reference/sdk/com/google/enterprise/cloudsearch/sdk/Connector) specific implementation of incremental change notifications. \n\n##### Throws\n\n| IOException | if getting changes fails |\n| InterruptedException | if an IO operations throws it |\n|----------------------|-------------------------------|"]]