Found 34 results
in 0.099 seconds.
Displaying page 1 of 4,
sorted by
-
public interface TaskQueue<T extends Task >
A queue is the data structure where the different tasks are waiting for
service.
Droids use this object to determine the next task to process and the
overall workload.
Version:
1.0
Method Summary
int
getSize ()
How many task do we have left in the queue.
T
getTask (java.lang.String id)
Return the task that is identified with the given id
boolean
hasNext ()
Do we have more task waiting for service
void
merge (java.util.Collection<? extends T > tasks)
Merge a given list of tasks with the current queue.
void
merge ( T task)
Add a Task to the queue...
T
next ()
Return the next task that is waiting for service
java.util.Collection<? extends T >
peek
http://incubator.apache.org/droids/api/droids-core/org/apache/droids/api/TaskQueue.html
-
task do we have left in the queue.
T
getTask (java.lang.String id)
Return the task that is identified with the given id
TaskValidator < T >
getTaskValidator ()
boolean
hasNext ()
Do we have more task waiting for service
void
merge (java.util.Collection<? extends T > tasks)
Tasks with duplicate keys will be overwritten
void
merge ( T task)
Add a Task to the queue...
T
next ()
Return the next task that is waiting for service
http://incubator.apache.org/droids/api/droids-core/org/apache/droids/impl/SimpleTaskQueue.html
-
.
Task
A task is a working instruction for a droid.
TaskMaster
Responsible for running all the tasks
TaskQueue
A queue is the data structure where the different tasks are waiting for
service.
Classes in org.apache.droids.api used
http://incubator.apache.org/droids/api/droids-core/org/apache/droids/api/package-use.html
-
,
Droid < T > droid)
The queue has been initialized
protected java.util.concurrent.Future
MultiThreadedTaskMaster. submitNewTaskRunner (java.util.concurrent.ExecutorService executor,
TaskQueue <? extends T > queue)
This method is designed for
http://incubator.apache.org/droids/api/droids-core/org/apache/droids/api/class-use/TaskQueue.html
-
(java.util.concurrent.ExecutorService executor,
TaskQueue <? extends T > queue)
This method is designed for sub-classing
TODO: refactor and create a specialized thread that
- construct with the delayTimer and transparently apply the delay
- construct with the Task and transparent set the
http://incubator.apache.org/droids/api/droids-core/org/apache/droids/impl/MultiThreadedTaskMaster.html
-
CONTRIBUTOR
An entity responsible for making contributions to the content of the
resource. Examples of a Contributor include a person, an organisation, or
a service. Typically, the name of a Contributor should be used to
indicate the entity.
See Also: Constant Field Values
COVERAGE
http://nutch.apache.org/apidocs-1.3/org/apache/nutch/metadata/DublinCore.html
-
CONTRIBUTOR
An entity responsible for making contributions to the content of the
resource. Examples of a Contributor include a person, an organisation, or
a service. Typically, the name of a Contributor should be used to
indicate the entity.
See Also: Constant Field Values
COVERAGE
http://nutch.apache.org/apidocs-1.4/org/apache/nutch/metadata/DublinCore.html
-
and Detector services when deployed to an OSGi environment. The tika-parsers bundle provides such services based on for all the supported file formats for which the upstream parser library is available. If you don't want to track all the parser libraries as separate OSGi bundles, you can use the tika
http://tika.apache.org/1.0/index.html
-
org.apache.nutch.protocol.httpclient (Apache Nutch 1.3 API)
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV PACKAGE
NEXT PACKAGE
FRAMES
NO FRAMES
All Classes
Package org.apache.nutch.protocol.httpclient
Protocol plugin which supports retrieving documents via the HTTP and
HTTPS protocols, optionally with Basic, Digest and NTLM authentication
schemes for web server as well as proxy server.
See:
Description
Interface Summary
HttpAuthentication
The base level of services required for Http Authentication
Class Summary
DummySSLProtocolSocketFactory
DummyX509TrustManager
Http
This class is a protocol
http://nutch.apache.org/apidocs-1.3/org/apache/nutch/protocol/httpclient/package-summary.html
-
Uses of Package org.apache.nutch.protocol.httpclient (${Name} 1.4 API)
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV
NEXT
FRAMES
NO FRAMES
All Classes
Uses of Package org.apache.nutch.protocol.httpclient
Packages that use org.apache.nutch.protocol.httpclient
org.apache.nutch.protocol.httpclient
Protocol plugin which supports retrieving documents via the HTTP and
HTTPS protocols, optionally with Basic, Digest and NTLM authentication
schemes for web server as well as proxy server.
Classes in org.apache.nutch.protocol.httpclient used by org.apache.nutch.protocol.httpclient
HttpAuthentication
The base level of services
http://nutch.apache.org/apidocs-1.4/org/apache/nutch/protocol/httpclient/package-use.html