Package com.esri.gpt.framework.collection

Examples of com.esri.gpt.framework.collection.StringAttributeMap


   * @param action the action(publish|delete)
   * @param uuids the set of document uuids
   */
  public void send(RequestContext context, String action, String[] uuids) {
    if ((uuids != null) && (uuids.length > 0)) {
      StringAttributeMap params = context.getCatalogConfiguration().getParameters();
      String param = Val.chkStr(params.getValue("lucene.useRemoteWriter"));
      boolean useRemoteWriter = param.equalsIgnoreCase("true");
      String remoteWriterUrl = Val.chkStr(params.getValue("lucene.remoteWriterUrl"));
      if (useRemoteWriter && (remoteWriterUrl.length() > 0)) {
        RemoteIndexJob job = new RemoteIndexJob(action,uuids,remoteWriterUrl);
        Thread thread = new Thread(job,"RemoteIndexJob");
        thread.setDaemon(true);
        thread.start();
View Full Code Here

TOP

Related Classes of com.esri.gpt.framework.collection.StringAttributeMap

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.