Java Doc for FileResourceManager.java in  » Database-JDBC-Connection-Pool » Apache-commons-transaction-1.2 » org » apache » commons » transaction » file » 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 » Database JDBC Connection Pool » Apache commons transaction 1.2 » org.apache.commons.transaction.file 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.commons.transaction.file.FileResourceManager

FileResourceManager
public class FileResourceManager implements ResourceManager,ResourceManagerErrorCodes(Code)
A resource manager for streamable objects stored in a file system. It is intended for developer and "out of the box" use. It is not intended to be a real alternative for a full blown DMBS (of course it can not be compared to a RDBMS at all). Major features:
  • Transactions performed with this class more or less comform to the widely accepted ACID properties
  • Reading should be as fast as from the ordinary file system (at the cost of a bit slower commits)
Compared to a "real" DBMS major limitations are (in order of assumed severity):
  • Number of simultaneously open resources is limited to the number of available file descriptors
  • It does not scale a bit
  • Pessimistic transaction and locking scheme
  • Isolation level currently is restricted to read committed and repeated read (which is not that bad)
Important: If possible you should have the work and store directory located in the same file system. If not, you might get additional problems, as there are:
  • On commit it might be necessay to copy files instead of rename/relink them. This may lead to time consuming, overly blocking commit phases and higher risk of corrupted files
  • Prepare phase might be too permissive, no check for sufficient memory on store file system is possible
General limitations include:
  • Due to lack of synchronization on the transaction context level, every transaction may only be accessed by a single thread throughout its full life. This means it is forbidden for a thread that has not started a transaction to perform any operations inside this transaction. However, threads associated with different transactions can safely access these methods concurrently. Reasons for the lack of synchronization are improved performance and simplicity (of the code of this class).
  • There is no dedicated class for a transaction. Having such a class would be better practice and make certain actions more intuitive.
  • Resource identifiers need a reasonsable string representation obtainable by toString. More specifically, they will have to resolve to a valid file path that does note denote a directory. If it does, you might be able to create it, but not to read or write anything from resp. to it. Valid string representations of a resource idenfier are for example "file" "/root" or "hjfhdfhuhuhsdufhdsufhdsufhdfuhdfduhduhduhdu". Invalid are for example "/" or "/root/". Invalid on some file systems are for example "c:" or "file://huhu".
  • As there are no active processes inside this RM and it shares its threads with the application, control over transactions is limited to points where the application calls the RM. In particular, this disables active termination of transactions upon timeout.
  • There is no notion of a connection to this file manager. This means you can not connect from hosts other than local and you will get problems when plugging this store into a J2EE store using connectors.
  • Methods should throw more specific exceptions

Caution:
The txId passed to many methods as an identifier for the transaction concerned will function as a key in a HashMap. Thus assure that equals and hashCode are both properly implemented and match each other.

Caution:
You will have to guarantee that no other process will access neither the store or the working dir concurrently to this FileResourceManager.

Special Caution:
Be very careful not to have two instances of FileResourceManager working in the same store and/or working dir.
version:
   $Id: FileResourceManager.java 509474 2007-02-20 09:04:22Z antoine $


Inner Class :protected class TransactionContext

Field Summary
final protected static  StringCONTEXT_FILE
    
final protected static  intDEFAULT_COMMIT_TIMEOUT_FACTOR
    
final protected static  intDEFAULT_ISOLATION_LEVEL
    
final protected static  StringDEFAULT_PARAMETER_ENCODING
    
final protected static  intDEFAULT_TIMEOUT_MSECS
    
final protected static  intLOCK_ACCESS
    
final protected static  intLOCK_COMMIT
    
final protected static  intLOCK_EXCLUSIVE
    
final protected static  intLOCK_SHARED
    
final protected static  intNATIVE_ISOLATION_LEVEL
    
final protected static  intNO_LOCK
    
final protected static  intOPERATION_MODE_RECOVERING
    
final protected static  intOPERATION_MODE_STARTED
    
final protected static  intOPERATION_MODE_STARTING
    
final protected static  intOPERATION_MODE_STOPPED
    
final protected static  intOPERATION_MODE_STOPPING
    
final protected static  StringWORK_CHANGE_DIR
    
final protected static  StringWORK_DELETE_DIR
    
protected  booleancleanUp
    
protected  booleandebug
    
protected  longdefaultTimeout
    
protected  booleandirty
    
protected  ListglobalOpenResources
    
protected  MapglobalTransactions
    
protected  intidCnt
    
protected  ResourceIdToPathMapperidMapper
    
protected  LockManager2lockManager
    
protected  LoggerFacadelogger
    
protected  intoperationMode
    
protected  StringstoreDir
    
protected  TransactionIdToPathMappertxIdMapper
    
protected  StringworkDir
    

Constructor Summary
public  FileResourceManager(String storeDir, String workDir, boolean urlEncodePath, LoggerFacade logger)
     Creates a new resource manager operation on the specified directories.
public  FileResourceManager(String storeDir, String workDir, boolean urlEncodePath, LoggerFacade logger, boolean debug)
     Creates a new resource manager operation on the specified directories.
public  FileResourceManager(String storeDir, String workDir, ResourceIdToPathMapper idMapper, LoggerFacade logger, boolean debug)
     Creates a new resource manager operation on the specified directories.
public  FileResourceManager(String storeDir, String workDir, ResourceIdToPathMapper idMapper, TransactionIdToPathMapper txIdMapper, LoggerFacade logger, boolean debug)
     Creates a new resource manager operation on the specified directories.

Method Summary
protected static  voidapplyDeletes(File removeDir, File targetDir, File rootDir)
    
protected  StringassureLeadingSlash(Object pathObject)
    
protected  voidassureNotMarkedForRollback(TransactionContext context)
    
protected  voidassureRMReady()
    
protected  voidassureStarted()
    
protected  voidcloseOpenResource(Object openResource)
    
public  voidcommitTransaction(Object txId)
    
public  voidcopyResource(Object txId, Object fromResourceId, Object toResourceId, boolean overwrite)
    
public  voidcreateResource(Object txId, Object resourceId)
    
public  voidcreateResource(Object txId, Object resourceId, boolean assureOnly)
    
public  voiddeleteResource(Object txId, Object resourceId)
    
public  voiddeleteResource(Object txId, Object resourceId, boolean assureOnly)
    
protected  voidfileInitialSaneCheck(Object txId, Object path)
    
public  StringgeneratedUniqueTxId()
     Generates a transaction identifier unique to this resource manager.
protected  StringgetChangePath(Object txId, Object path)
    
protected  TransactionContextgetContext(Object txId)
    
public  intgetDefaultIsolationLevel()
    
public  longgetDefaultTransactionTimeout()
     Gets the default transaction timeout in milliseconds.
protected  StringgetDeletePath(Object txId, Object path)
    
public  intgetIsolationLevel(Object txId)
    
public  LoggerFacadegetLogger()
     Gets the logger used by this resource manager.
protected  StringgetMainPath(Object path)
    
protected  StringgetPathForRead(Object txId, Object resourceId)
    
protected  StringgetPathForWrite(Object txId, Object resourceId)
    
protected  intgetSharedLockLevel(TransactionContext context)
    
public  StringgetStoreDir()
     Gets the store directory.
public  int[]getSupportedIsolationLevels()
    
protected  StringgetTransactionBaseDir(Object txId)
    
public  intgetTransactionState(Object txId)
    
public  longgetTransactionTimeout(Object txId)
    
public  StringgetWorkDir()
     Gets the working directory.
public  booleanisIsolationLevelSupported(int level)
    
public  booleanlockResource(Object resourceId, Object txId)
    
public  booleanlockResource(Object resourceId, Object txId, boolean shared)
    
public  booleanlockResource(Object resourceId, Object txId, boolean shared, boolean wait, long timeoutMSecs, boolean reentrant)
    
public  voidmarkTransactionForRollback(Object txId)
    
public  voidmoveResource(Object txId, Object fromResourceId, Object toResourceId, boolean overwrite)
    
public  intprepareTransaction(Object txId)
    
public  InputStreamreadResource(Object resourceId)
    
public  InputStreamreadResource(Object txId, Object resourceId)
    
public synchronized  booleanrecover()
    
protected  voidrecoverContexts()
    
protected  voidregisterOpenResource(Object openResource)
    
protected  voidreleaseGlobalOpenResources()
    
public synchronized  voidreset()
     Resets the store by deleting work and store directory.
public  booleanresourceExists(Object resourceId)
    
public  booleanresourceExists(Object txId, Object resourceId)
    
protected  booleanrollBackOrForward()
    
public  voidrollbackTransaction(Object txId)
    
public  voidsetDefaultTransactionTimeout(long timeout)
     Sets the default transaction timeout.
protected  voidsetDirty(Object txId, Throwable t)
    
public  voidsetIsolationLevel(Object txId, int level)
    
public  voidsetTransactionTimeout(Object txId, long mSecs)
    
protected  booleanshutdown(int mode, long timeoutMSecs)
    
public synchronized  voidstart()
    
public  voidstartTransaction(Object txId)
    
public synchronized  booleanstop(int mode)
    
public synchronized  booleanstop(int mode, long timeOut)
    
public synchronized  voidsync()
     Synchronizes persistent data with caches.
protected  TransactionContexttxInitialSaneCheck(Object txId)
    
protected  TransactionContexttxInitialSaneCheckForWriting(Object txId)
    
protected  booleanundoScheduledChangeOrCreate(Object txId, Object resourceId)
    
protected  booleanundoScheduledDelete(Object txId, Object resourceId)
    
protected  booleanwaitForAllTxToStop(long timeoutMSecs)
    
public  OutputStreamwriteResource(Object txId, Object resourceId)
    
public  OutputStreamwriteResource(Object txId, Object resourceId, boolean append)
    

Field Detail
CONTEXT_FILE
final protected static String CONTEXT_FILE(Code)



DEFAULT_COMMIT_TIMEOUT_FACTOR
final protected static int DEFAULT_COMMIT_TIMEOUT_FACTOR(Code)



DEFAULT_ISOLATION_LEVEL
final protected static int DEFAULT_ISOLATION_LEVEL(Code)



DEFAULT_PARAMETER_ENCODING
final protected static String DEFAULT_PARAMETER_ENCODING(Code)



DEFAULT_TIMEOUT_MSECS
final protected static int DEFAULT_TIMEOUT_MSECS(Code)



LOCK_ACCESS
final protected static int LOCK_ACCESS(Code)



LOCK_COMMIT
final protected static int LOCK_COMMIT(Code)



LOCK_EXCLUSIVE
final protected static int LOCK_EXCLUSIVE(Code)



LOCK_SHARED
final protected static int LOCK_SHARED(Code)



NATIVE_ISOLATION_LEVEL
final protected static int NATIVE_ISOLATION_LEVEL(Code)



NO_LOCK
final protected static int NO_LOCK(Code)



OPERATION_MODE_RECOVERING
final protected static int OPERATION_MODE_RECOVERING(Code)



OPERATION_MODE_STARTED
final protected static int OPERATION_MODE_STARTED(Code)



OPERATION_MODE_STARTING
final protected static int OPERATION_MODE_STARTING(Code)



OPERATION_MODE_STOPPED
final protected static int OPERATION_MODE_STOPPED(Code)



OPERATION_MODE_STOPPING
final protected static int OPERATION_MODE_STOPPING(Code)



WORK_CHANGE_DIR
final protected static String WORK_CHANGE_DIR(Code)



WORK_DELETE_DIR
final protected static String WORK_DELETE_DIR(Code)



cleanUp
protected boolean cleanUp(Code)



debug
protected boolean debug(Code)



defaultTimeout
protected long defaultTimeout(Code)



dirty
protected boolean dirty(Code)



globalOpenResources
protected List globalOpenResources(Code)



globalTransactions
protected Map globalTransactions(Code)



idCnt
protected int idCnt(Code)



idMapper
protected ResourceIdToPathMapper idMapper(Code)



lockManager
protected LockManager2 lockManager(Code)



logger
protected LoggerFacade logger(Code)



operationMode
protected int operationMode(Code)



storeDir
protected String storeDir(Code)



txIdMapper
protected TransactionIdToPathMapper txIdMapper(Code)



workDir
protected String workDir(Code)




Constructor Detail
FileResourceManager
public FileResourceManager(String storeDir, String workDir, boolean urlEncodePath, LoggerFacade logger)(Code)
Creates a new resource manager operation on the specified directories.
Parameters:
  storeDir - directory where main data should go after commit
Parameters:
  workDir - directory where transactions store temporary data
Parameters:
  urlEncodePath - if set to true encodes all paths to allow for any kind of characters
Parameters:
  logger - the logger to be used by this store



FileResourceManager
public FileResourceManager(String storeDir, String workDir, boolean urlEncodePath, LoggerFacade logger, boolean debug)(Code)
Creates a new resource manager operation on the specified directories.
Parameters:
  storeDir - directory where main data should go after commit
Parameters:
  workDir - directory where transactions store temporary data
Parameters:
  urlEncodePath - if set to true encodes all paths to allow for any kind of characters
Parameters:
  logger - the logger to be used by this store
Parameters:
  debug - if set to true logs all locking information to "transaction.log" for debugging inspection



FileResourceManager
public FileResourceManager(String storeDir, String workDir, ResourceIdToPathMapper idMapper, LoggerFacade logger, boolean debug)(Code)
Creates a new resource manager operation on the specified directories. This constructor is reintroduced for backwards API compatibility and is used by jakarta-slide.
Parameters:
  storeDir - directory where main data should go after commit
Parameters:
  workDir - directory where transactions store temporary data
Parameters:
  idMapper - mapper for resourceId to path
Parameters:
  logger - the logger to be used by this store
Parameters:
  debug - if set to true logs all locking information to "transaction.log" for debugging inspection



FileResourceManager
public FileResourceManager(String storeDir, String workDir, ResourceIdToPathMapper idMapper, TransactionIdToPathMapper txIdMapper, LoggerFacade logger, boolean debug)(Code)
Creates a new resource manager operation on the specified directories.
Parameters:
  storeDir - directory where main data should go after commit
Parameters:
  workDir - directory where transactions store temporary data
Parameters:
  idMapper - mapper for resourceId to path
Parameters:
  txIdMapper - mapper for transaction id to path
Parameters:
  logger - the logger to be used by this store
Parameters:
  debug - if set to true logs all locking information to "transaction.log" for debugging inspection




Method Detail
applyDeletes
protected static void applyDeletes(File removeDir, File targetDir, File rootDir) throws IOException(Code)



assureLeadingSlash
protected String assureLeadingSlash(Object pathObject)(Code)



assureNotMarkedForRollback
protected void assureNotMarkedForRollback(TransactionContext context) throws ResourceManagerException(Code)



assureRMReady
protected void assureRMReady() throws ResourceManagerSystemException(Code)



assureStarted
protected void assureStarted() throws ResourceManagerSystemException(Code)



closeOpenResource
protected void closeOpenResource(Object openResource)(Code)



commitTransaction
public void commitTransaction(Object txId) throws ResourceManagerException(Code)



copyResource
public void copyResource(Object txId, Object fromResourceId, Object toResourceId, boolean overwrite) throws ResourceManagerException(Code)



createResource
public void createResource(Object txId, Object resourceId) throws ResourceManagerException(Code)



createResource
public void createResource(Object txId, Object resourceId, boolean assureOnly) throws ResourceManagerException(Code)



deleteResource
public void deleteResource(Object txId, Object resourceId) throws ResourceManagerException(Code)



deleteResource
public void deleteResource(Object txId, Object resourceId, boolean assureOnly) throws ResourceManagerException(Code)



fileInitialSaneCheck
protected void fileInitialSaneCheck(Object txId, Object path) throws ResourceManagerException(Code)



generatedUniqueTxId
public String generatedUniqueTxId() throws ResourceManagerSystemException(Code)
Generates a transaction identifier unique to this resource manager. To do so it requires this resource manager to be started. generated transaction identifier
throws:
  ResourceManagerSystemException - if this resource manager has not been started, yet



getChangePath
protected String getChangePath(Object txId, Object path)(Code)



getContext
protected TransactionContext getContext(Object txId)(Code)



getDefaultIsolationLevel
public int getDefaultIsolationLevel()(Code)



getDefaultTransactionTimeout
public long getDefaultTransactionTimeout()(Code)
Gets the default transaction timeout in milliseconds.



getDeletePath
protected String getDeletePath(Object txId, Object path)(Code)



getIsolationLevel
public int getIsolationLevel(Object txId) throws ResourceManagerException(Code)



getLogger
public LoggerFacade getLogger()(Code)
Gets the logger used by this resource manager. used logger



getMainPath
protected String getMainPath(Object path)(Code)



getPathForRead
protected String getPathForRead(Object txId, Object resourceId) throws ResourceManagerException(Code)



getPathForWrite
protected String getPathForWrite(Object txId, Object resourceId) throws ResourceManagerException(Code)



getSharedLockLevel
protected int getSharedLockLevel(TransactionContext context) throws ResourceManagerException(Code)



getStoreDir
public String getStoreDir()(Code)
Gets the store directory. the store directory
See Also:   FileResourceManager.FileResourceManager(String,String,boolean,LoggerFacade)
See Also:   FileResourceManager.FileResourceManager(String,String,boolean,LoggerFacade,boolean)



getSupportedIsolationLevels
public int[] getSupportedIsolationLevels() throws ResourceManagerException(Code)



getTransactionBaseDir
protected String getTransactionBaseDir(Object txId)(Code)



getTransactionState
public int getTransactionState(Object txId) throws ResourceManagerException(Code)



getTransactionTimeout
public long getTransactionTimeout(Object txId) throws ResourceManagerException(Code)



getWorkDir
public String getWorkDir()(Code)
Gets the working directory. the work directory
See Also:   FileResourceManager.FileResourceManager(String,String,boolean,LoggerFacade)
See Also:   FileResourceManager.FileResourceManager(String,String,boolean,LoggerFacade,boolean)



isIsolationLevelSupported
public boolean isIsolationLevelSupported(int level) throws ResourceManagerException(Code)



lockResource
public boolean lockResource(Object resourceId, Object txId) throws ResourceManagerException(Code)



lockResource
public boolean lockResource(Object resourceId, Object txId, boolean shared) throws ResourceManagerException(Code)



lockResource
public boolean lockResource(Object resourceId, Object txId, boolean shared, boolean wait, long timeoutMSecs, boolean reentrant) throws ResourceManagerException(Code)



markTransactionForRollback
public void markTransactionForRollback(Object txId) throws ResourceManagerException(Code)



moveResource
public void moveResource(Object txId, Object fromResourceId, Object toResourceId, boolean overwrite) throws ResourceManagerException(Code)



prepareTransaction
public int prepareTransaction(Object txId) throws ResourceManagerException(Code)



readResource
public InputStream readResource(Object resourceId) throws ResourceManagerException(Code)



readResource
public InputStream readResource(Object txId, Object resourceId) throws ResourceManagerException(Code)



recover
public synchronized boolean recover() throws ResourceManagerSystemException(Code)



recoverContexts
protected void recoverContexts()(Code)



registerOpenResource
protected void registerOpenResource(Object openResource)(Code)



releaseGlobalOpenResources
protected void releaseGlobalOpenResources()(Code)



reset
public synchronized void reset()(Code)
Resets the store by deleting work and store directory.



resourceExists
public boolean resourceExists(Object resourceId) throws ResourceManagerException(Code)



resourceExists
public boolean resourceExists(Object txId, Object resourceId) throws ResourceManagerException(Code)



rollBackOrForward
protected boolean rollBackOrForward()(Code)



rollbackTransaction
public void rollbackTransaction(Object txId) throws ResourceManagerException(Code)



setDefaultTransactionTimeout
public void setDefaultTransactionTimeout(long timeout)(Code)
Sets the default transaction timeout.
Parameters:
  timeout - timeout in milliseconds



setDirty
protected void setDirty(Object txId, Throwable t)(Code)



setIsolationLevel
public void setIsolationLevel(Object txId, int level) throws ResourceManagerException(Code)



setTransactionTimeout
public void setTransactionTimeout(Object txId, long mSecs) throws ResourceManagerException(Code)



shutdown
protected boolean shutdown(int mode, long timeoutMSecs)(Code)



start
public synchronized void start() throws ResourceManagerSystemException(Code)



startTransaction
public void startTransaction(Object txId) throws ResourceManagerException(Code)



stop
public synchronized boolean stop(int mode) throws ResourceManagerSystemException(Code)



stop
public synchronized boolean stop(int mode, long timeOut) throws ResourceManagerSystemException(Code)



sync
public synchronized void sync() throws ResourceManagerSystemException(Code)
Synchronizes persistent data with caches. Is implemented with an empty body, but called by other methods relying on synchronization. Subclasses that utilize caching must implement this method reasonably.
throws:
  ResourceManagerSystemException - if anything fatal hapened during synchonization



txInitialSaneCheck
protected TransactionContext txInitialSaneCheck(Object txId) throws ResourceManagerException(Code)



txInitialSaneCheckForWriting
protected TransactionContext txInitialSaneCheckForWriting(Object txId) throws ResourceManagerException(Code)



undoScheduledChangeOrCreate
protected boolean undoScheduledChangeOrCreate(Object txId, Object resourceId) throws ResourceManagerException(Code)



undoScheduledDelete
protected boolean undoScheduledDelete(Object txId, Object resourceId) throws ResourceManagerException(Code)



waitForAllTxToStop
protected boolean waitForAllTxToStop(long timeoutMSecs)(Code)



writeResource
public OutputStream writeResource(Object txId, Object resourceId) throws ResourceManagerException(Code)



writeResource
public OutputStream writeResource(Object txId, Object resourceId, boolean append) throws ResourceManagerException(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.