Java Doc for LockLevel.java in  » Net » Terracotta » com » tc » object » lockmanager » api » 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 » Net » Terracotta » com.tc.object.lockmanager.api 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.tc.object.lockmanager.api.LockLevel

LockLevel
public class LockLevel (Code)
Lock level constants


Field Summary
final public static  intCONCURRENT
    
final public static  intNIL_LOCK_LEVEL
     NOTE: The NIL level isn't a valid lock level.
final public static  intREAD
    
final public static  intSYNCHRONOUS_WRITE
    
final public static  intWRITE
    


Method Summary
public static  booleanisConcurrent(int level)
    
public static  booleanisDiscrete(int lockLevel)
    
public static  booleanisGreedy(int level)
    
public static  booleanisRead(int level)
    
public static  booleanisSynchronous(int level)
    
public static  booleanisSynchronousWrite(int level)
    
public static  booleanisWrite(int level)
    
public static  intmakeGreedy(int level)
    
public static  intmakeNotGreedy(int level)
    
public static  intmakeNotSynchronous(int level)
    
public static  intmakeSynchronous(int level)
    
public static  StringtoString(int level)
    

Field Detail
CONCURRENT
final public static int CONCURRENT(Code)
CONCURRENT bit



NIL_LOCK_LEVEL
final public static int NIL_LOCK_LEVEL(Code)
NOTE: The NIL level isn't a valid lock level. It used to indicate the absence of a defined/valid lock level



READ
final public static int READ(Code)
READ bit



SYNCHRONOUS_WRITE
final public static int SYNCHRONOUS_WRITE(Code)
Combination of WRITE with SYNCHRONOUS flag



WRITE
final public static int WRITE(Code)
WRITE bit





Method Detail
isConcurrent
public static boolean isConcurrent(int level)(Code)

Parameters:
  level - Level Is lock level CONCURRENT?



isDiscrete
public static boolean isDiscrete(int lockLevel)(Code)
Is this a discrete lock level? A lock level which is a combination (like READ+WRITE) is non-discreet True if discrete



isGreedy
public static boolean isGreedy(int level)(Code)

Parameters:
  level - Level Is lock level GREEDY?



isRead
public static boolean isRead(int level)(Code)

Parameters:
  level - Level Is lock level READ?



isSynchronous
public static boolean isSynchronous(int level)(Code)

Parameters:
  level - Level Is SYNCHRONOUS?



isSynchronousWrite
public static boolean isSynchronousWrite(int level)(Code)

Parameters:
  level - Level Is lock level SYNCHRONOUS_WRITE?



isWrite
public static boolean isWrite(int level)(Code)

Parameters:
  level - Level Is lock level WRITE?



makeGreedy
public static int makeGreedy(int level)(Code)
Make lock greedy
Parameters:
  level - Start Greedy version of level



makeNotGreedy
public static int makeNotGreedy(int level)(Code)
Make lock not greedy
Parameters:
  level - Start Not greedy version of level



makeNotSynchronous
public static int makeNotSynchronous(int level)(Code)
Make not synchronous
Parameters:
  level - Start Not synchronous version of level



makeSynchronous
public static int makeSynchronous(int level)(Code)
Make lock synchronous
Parameters:
  level - Start Synchronous version of level



toString
public static String toString(int level)(Code)

Parameters:
  level - Lock level String representation



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.