Esri Geoportal Server
1.2.9

com.esri.gpt.framework.http.crawl
Class CrawlLocker

java.lang.Object
  extended by com.esri.gpt.framework.http.crawl.CrawlLocker

public class CrawlLocker
extends Object

Crawl locker.


Method Summary
 void enterServer(String protocolHostPort, Long throttleDelay)
          Enter server with crawl delay.
static CrawlLocker getInstance()
          Gets singleton instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static CrawlLocker getInstance()
Gets singleton instance.

Returns:
instance (never null)

enterServer

public void enterServer(String protocolHostPort,
                        Long throttleDelay)
Enter server with crawl delay.

Parameters:
protocolHostPort - server protocol/host/port
throttleDelay - throttle delay in milliseconds(null for no delay)

Esri Geoportal Server
1.2.9

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.