Package com.google.enterprise.connector.persist

Examples of com.google.enterprise.connector.persist.ConnectorStamps


      try {
        if (diff == 0) {
          // Compare the inMemory vs inPStore ConnectorStamps for a
          // connector instance. Notify ChangeListeners for items whose
          // Stamps have changed.
          ConnectorStamps stamps = compareInstancesAndNotifyListeners(
             m, p, inMemoryInventory.get(m), persistentInventory.get(p));

          // Remember the new ConnetorStamps for our new inMemory inventory.
          mapBuilder.put(p, stamps);
View Full Code Here


      } catch (InstantiatorException e) {
        // Instantiation of the connector failed. Remember a null configuration
        // stamp so we will try the new configuration again next time through.
        // This is an attempt to handle connectors that fail instantiation
        // due to transient causes (such as a server off-line).
        return new ConnectorStamps(ps.getCheckpointStamp(),
            null, ps.getScheduleStamp());
      }
    }

    // Return the original stamps.
View Full Code Here

TOP

Related Classes of com.google.enterprise.connector.persist.ConnectorStamps

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.