Java Doc for serverAbstractSwitch.java in  » Search-Engine » yacy » de » anomic » server » Java Source Code / Java DocumentationJava Source Code and Java Documentation

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 » Search Engine » yacy » de.anomic.server 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   de.anomic.server.serverAbstractSwitch

All known Subclasses:   de.anomic.plasma.plasmaSwitchboard,  de.anomic.server.serverPlainSwitch,  de.anomic.http.httpdSwitchboard,
serverAbstractSwitch
abstract public class serverAbstractSwitch implements serverSwitch(Code)


Field Summary
protected  HashMap<String, TreeMap<Long, String>>accessTracker
    
protected  serverLoglog
    
protected  longmaxTrackingTime
    
protected  intserverJobs
    

Constructor Summary
public  serverAbstractSwitch(File rootPath, String initPath, String configPath, boolean applyPro)
    

Method Summary
public  Iterator<String>accessHosts()
    
public  TreeMap<Long, String>accessTrack(String host)
    
abstract public  serverObjectsaction(String actionName, serverObjects actionInput)
    
public  voidaddAuthentifyRight(InetAddress host, String right)
    
public  Iterator<String>configKeys()
    
abstract public  booleandeQueue()
    
public  voiddeployAction(String actionName, String actionShortDescription, String actionLongDescription, serverSwitchAction newAction)
    
public  voiddeployThread(String threadName, String threadShortDescription, String threadLongDescription, String threadMonitorURL, serverThread newThread, long startupDelay)
    
public  voiddeployThread(String threadName, String threadShortDescription, String threadLongDescription, String threadMonitorURL, serverThread newThread, long startupDelay, long initialIdleSleep, long initialBusySleep, long initialMemoryPreRequisite)
    
abstract public  voidenQueue(Object job)
    
public  StringgetAuthentifyRights(InetAddress host)
    
public  StringgetAuthentifyUser(InetAddress host)
    
public  StringgetConfig(String key, String dflt)
    
public  booleangetConfigBool(String key, boolean dflt)
    
public  doublegetConfigDouble(String key, double dflt)
    
public  longgetConfigLong(String key, long dflt)
    
public  FilegetConfigPath(String key, String dflt)
     Create a File instance for a configuration setting specifying a path.
Parameters:
  key - config key
Parameters:
  dflt - default path value, that is used when there is no valuekey in the configuration.
public  serverLoggetLog()
    
public  Map<String, String>getRemoved()
    
public  FilegetRootPath()
    
public  serverThreadgetThread(String threadName)
    
public  voidhandleBusyState(int jobs)
    
public  booleanhasAuthentifyRight(InetAddress host, String right)
    
public  voidintermissionAllThreads(long pause)
    
abstract public  intqueueSize()
    
public  voidremoveAuthentify(InetAddress host)
    
public  voidsetAuthentify(InetAddress host, String user, String rights)
    
public  voidsetConfig(Map<String, String> otherConfigs)
    
public  voidsetConfig(String key, boolean value)
    
public  voidsetConfig(String key, long value)
    
public  voidsetConfig(String key, double value)
    
public  voidsetConfig(String key, String value)
    
public  voidsetLog(serverLog log)
    
public  voidsetThreadPerformance(String threadName, long idleMillis, long busyMillis, long memprereqBytes)
    
public synchronized  voidterminateAllThreads(boolean waitFor)
    
public synchronized  voidterminateThread(String threadName, boolean waitFor)
    
public  Iterator<String>threadNames()
    
public  StringtoString()
    
public  voidtrack(String host, String accessPath)
    
public  voidundeployAction(String actionName)
    

Field Detail
accessTracker
protected HashMap<String, TreeMap<Long, String>> accessTracker(Code)



log
protected serverLog log(Code)



maxTrackingTime
protected long maxTrackingTime(Code)



serverJobs
protected int serverJobs(Code)




Constructor Detail
serverAbstractSwitch
public serverAbstractSwitch(File rootPath, String initPath, String configPath, boolean applyPro)(Code)




Method Detail
accessHosts
public Iterator<String> accessHosts()(Code)



accessTrack
public TreeMap<Long, String> accessTrack(String host)(Code)



action
abstract public serverObjects action(String actionName, serverObjects actionInput)(Code)



addAuthentifyRight
public void addAuthentifyRight(InetAddress host, String right)(Code)



configKeys
public Iterator<String> configKeys()(Code)



deQueue
abstract public boolean deQueue()(Code)



deployAction
public void deployAction(String actionName, String actionShortDescription, String actionLongDescription, serverSwitchAction newAction)(Code)



deployThread
public void deployThread(String threadName, String threadShortDescription, String threadLongDescription, String threadMonitorURL, serverThread newThread, long startupDelay)(Code)



deployThread
public void deployThread(String threadName, String threadShortDescription, String threadLongDescription, String threadMonitorURL, serverThread newThread, long startupDelay, long initialIdleSleep, long initialBusySleep, long initialMemoryPreRequisite)(Code)



enQueue
abstract public void enQueue(Object job)(Code)



getAuthentifyRights
public String getAuthentifyRights(InetAddress host)(Code)



getAuthentifyUser
public String getAuthentifyUser(InetAddress host)(Code)



getConfig
public String getConfig(String key, String dflt)(Code)



getConfigBool
public boolean getConfigBool(String key, boolean dflt)(Code)



getConfigDouble
public double getConfigDouble(String key, double dflt)(Code)



getConfigLong
public long getConfigLong(String key, long dflt)(Code)



getConfigPath
public File getConfigPath(String key, String dflt)(Code)
Create a File instance for a configuration setting specifying a path.
Parameters:
  key - config key
Parameters:
  dflt - default path value, that is used when there is no valuekey in the configuration. if the value of the setting is an absolute path String, then thereturned File is derived from this setting only. Otherwise the path's fileis constructed from the applications root path + the relative path setting.



getLog
public serverLog getLog()(Code)



getRemoved
public Map<String, String> getRemoved()(Code)



getRootPath
public File getRootPath()(Code)



getThread
public serverThread getThread(String threadName)(Code)



handleBusyState
public void handleBusyState(int jobs)(Code)



hasAuthentifyRight
public boolean hasAuthentifyRight(InetAddress host, String right)(Code)



intermissionAllThreads
public void intermissionAllThreads(long pause)(Code)



queueSize
abstract public int queueSize()(Code)



removeAuthentify
public void removeAuthentify(InetAddress host)(Code)



setAuthentify
public void setAuthentify(InetAddress host, String user, String rights)(Code)



setConfig
public void setConfig(Map<String, String> otherConfigs)(Code)



setConfig
public void setConfig(String key, boolean value)(Code)



setConfig
public void setConfig(String key, long value)(Code)



setConfig
public void setConfig(String key, double value)(Code)



setConfig
public void setConfig(String key, String value)(Code)



setLog
public void setLog(serverLog log)(Code)



setThreadPerformance
public void setThreadPerformance(String threadName, long idleMillis, long busyMillis, long memprereqBytes)(Code)



terminateAllThreads
public synchronized void terminateAllThreads(boolean waitFor)(Code)



terminateThread
public synchronized void terminateThread(String threadName, boolean waitFor)(Code)



threadNames
public Iterator<String> threadNames()(Code)



toString
public String toString()(Code)



track
public void track(String host, String accessPath)(Code)



undeployAction
public void undeployAction(String actionName)(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.