org.cougaar.core.thread

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Science » Cougaar12_4 » org.cougaar.core.thread 
org.cougaar.core.thread
This package contains the Cougaar pooled {@link org.cougaar.core.service.ThreadService} implementation.

For most {@link org.cougaar.core.service.ThreadService} clients, the only public APIs are the {@link org.cougaar.core.thread.Schedulable} and perhaps {@link org.cougaar.core.thread.SchedulableStatus}.

{@link org.cougaar.core.service.ThreadService} documentation is in:
$COUGAAR_INSTALL_PATH/doc/OnlineManual/ThreadService/index.html

For more detail, see the Cougaar Developers' Guide.

Java Source File NameTypeComment
AgentControlPlugin.javaClass This trivial Plugin exists only to create a SchedulerWatcher for whatever Agent it's loaded in to.
AgentLoadRatePlugin.javaClass This Plugin collects the load history for the Agent in which it's loaded, and uplaads that data to the metrics service.
AgentLoadSensorPlugin.javaClass This Plugin provides the AgentLoadService for other Plugins in the same Agent.
AgentLoadService.javaInterface This Service provides a simple time-based integral of agent load.
CougaarThread.javaInterface Defines a set of Schedulable state constants.
DynamicSortedQueue.javaClass A simple queue, built on array list, that uses a Comparator to determine which elements is next (the smallest, according to the Comparator).
LimitThreadsPlugin.javaClass This Component limits the number of threads that an agent can use to run its schedulables in parallel.
PercentageLoadSelector.javaClass A sample RightsSelector that attempts to select among the children in such a way as to match a set of target percentages.
PropagatingScheduler.javaClass The standard hiearchical thread service implementation uses this extension of Scheduler to handle the propagation of rights.
RightsPropagatingScheduler.javaClass This experimenatal extension of Scheduler is not currently used.
RightsSelector.javaInterface A getNextPending method of a RightSelector is used by a PropagatingScheduler to decide now to share rights among its own Schedulables and its children.
RogueThreadDetector.javaClass This plugin periodically scans all the schedulable and prints out error messages if they are taking a long time to complete.
RootControlPlugin.javaClass This node-level Plugin shows examples of limiting the top-level thread service in two ways: it sets the global max to 2, and it qualifies rights selection for children so that no child ever uses more than half of the available rights.
RoundRobinSelector.javaClass This is the standard implementation of RightsSelector .
RunnableQueue.javaClass This utility class embads a CircularQueue in its own Schedulable , the body of which processes elements on the queue for up to 500ms or until the queue is empty, whichever comes first.
Schedulable.javaInterface A Schedulable is an API provided by the org.cougaar.core.service.ThreadService that takes the place of standard Java java.lang.Thread s and java.util.TimerTask s.

Aside from a few special internal cases, all Threads and Tasks in Cougaar should come from the ThreadService in the form of Schedulables.

SchedulableLifecyle.javaenum
SchedulableObject.javaClass The standard implementation of Schedulable .
SchedulableStateChangeQueue.javaClass
SchedulableStatus.javaClass An optional utility class for use by java.lang.Runnable s running in a pooled org.cougaar.core.service.ThreadService thread to tell the ThreadService why they are running so long (for example, due to a blocking I/O call).
Scheduler.javaClass The base class of thread-scheduler.
SchedulerWatcher.javaClass This class listens for events on the closest ThreadService, collects information about every consumer, and periodically uploads that information the the metrics service.
SerialSchedulable.javaClass This is the Schedulable implementation used by the simplest thread service implementation, which runs its Schedulable s serially.
SerialThreadQueue.javaClass The simplest thread service implementation, which runs its Schedulable s serially, uses this utility class to hold a set of Schedulable s in proper sequence.
SerialThreadRunner.javaClass The simplest thread service implementation, which runs its Schedulable s serially, uses a small Collection of SerialThreadRunners to do that work.
SingleThreadServiceProvider.javaClass This Component provides a very simple, serializing ThreadService for its container.
SingleThreadServiceProxy.javaClass The serializing trivial implementation of Thread Service.
ThreadControlServiceProxy.javaClass The implementation of ThreadControlService .
ThreadListener.javaInterface Objects which wish to subscribe to the ThreadListenerService should implement this interface.
ThreadListenerProxy.javaClass Implementation of ThreadListenerService .
ThreadPool.javaClass A pool of native Java threads used by the standard implementation of the ThreadService .
ThreadServiceProvider.javaClass This component is the ServiceProvider for the ThreadService , ThreadControlService , ThreadListenerService , and ThreadStatusService .
ThreadServiceProxy.javaClass The default implementation of ThreadService .
ThreadStatusService.javaInterface This service is designed to provide a low-fidelity snapshot of the current state of the ThreadServices.
ThreadsWellBehavedPlugin.javaClass This class marks the agent as wellbehaved.
TopPlugin.javaClass This component is used to create the TopServlet, which it will do unless the "servlet" parameter is set to "false", and the RogueThreadDetector, which it will do unless the "detector" parameter is set to "false". The servlet displays a more or less current list of Schedulable s, both running and queued, at all levels and for all lanes, in a way that's vaguely remniscent of the unix 'top' command.
TopServlet.javaClass This servlet displays a more or less current list of Schedulable s, both running and queued, at all levels and for all lanes, in a way that's vaguely remniscent of the unix 'top' command.
TreeNode.javaClass This class is used to represent the hierarchy of the standard layered ThreadService .
TrivialSchedulable.javaClass This implementation of Schedulable is used by the trivial ThreadService , which has no queueing and always runs threads immediately.
TrivialThreadPool.javaClass A simple pool of Java threads, used by the trivial ThreadService .
TrivialThreadServiceProvider.javaClass The ServiceProvider for the simple ThreadService s.
TrivialThreadServiceProxy.javaClass The trivial implementation of ThreadService .
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.