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


com.tc.object.bytecode.Manager

All known Subclasses:   com.tc.object.bytecode.ManagerImpl,  com.tc.object.bytecode.NullManager,
Manager
public interface Manager (Code)
The Manager interface


Field Summary
final public static  StringCLASS
    
final public static  intLOCK_TYPE_CONCURRENT
    
final public static  intLOCK_TYPE_READ
    
final public static  intLOCK_TYPE_SYNCHRONOUS_WRITE
    
final public static  intLOCK_TYPE_WRITE
    
final public static  StringTYPE
    


Method Summary
public  voidaddClusterEventListener(ClusterEventListener cel)
    
public  voidbeginLock(String lockID, int type)
    
public  voidbeginVolatile(TCObject tcObject, String fieldName, int type)
    
public  voidcheckWriteAccess(Object context)
    
public  voidcommitLock(String lockName)
    
public  voidcommitVolatile(TCObject tcObject, String fieldName)
    
public  ObjectcreateOrReplaceRoot(String rootName, Object object)
     Create or replace root, typically used for replaceable roots.
public  ObjectdeepCopy(Object source)
    
public  booleandistributedMethodCall(Object receiver, String method, Object[] params, boolean runOnAllNodes)
    
public  voiddistributedMethodCallCommit()
    
public  StringgetClientID()
    
public  DmiManagergetDmiManager()
    
public  TCLoggergetLogger(String loggerName)
    
public  SessionMonitorMBeangetSessionMonitorMBean()
    
public  TCPropertiesgetTCProperites()
    
public  voidinit()
    
public  booleanisCreationInProgress()
     Check whether a creation is in progress.
public  booleanisDsoMonitorEntered(Object obj)
    
public  booleanisDsoMonitored(Object obj)
    
public  booleanisFieldPortableByOffset(Object pojo, long fieldOffset)
    
public  booleanisHeldByCurrentThread(Object obj, int lockLevel)
    
public  booleanisLocked(Object obj, int lockLevel)
    
public  booleanisLogical(Object object)
    
public  booleanisManaged(Object object)
    
public  booleanisPhysicallyInstrumented(Class clazz)
    
public  booleanisRoot(Field field)
    
public  intlocalHeldCount(Object obj, int lockLevel)
    
public  voidlogicalInvoke(Object object, String methodName, Object[] params)
    
public  voidlogicalInvokeWithTransaction(Object object, Object lockObject, String methodName, Object[] params)
    
public  TCObjectlookupExistingOrNull(Object obj)
    
public  ObjectlookupObject(ObjectID id)
    
public  ObjectlookupObject(ObjectID id, ObjectID parentContext)
     Look up object by ID, faulting into the JVM if necessary, This method also passes the parent Object context so that more intelligent prefetching is possible at the L2.
public  TCObjectlookupOrCreate(Object obj)
    
public  ObjectlookupOrCreateRoot(String name, Object object)
    
public  ObjectlookupOrCreateRootNoDepth(String name, Object obj)
     Look up or create a new root object.
public  ObjectlookupRoot(String name)
    
public  voidmonitorEnter(Object obj, int type)
    
public  voidmonitorExit(Object obj)
    
public  voidobjectNotify(Object obj)
    
public  voidobjectNotifyAll(Object obj)
    
public  voidobjectWait0(Object obj)
    
public  voidobjectWait1(Object obj, long millis)
    
public  voidobjectWait2(Object obj, long millis, int nanos)
    
public  voidoptimisticBegin()
    
public  voidoptimisticCommit()
    
public  voidoptimisticRollback()
    
public  intqueueLength(Object obj)
    
public  TCObjectshareObjectIfNecessary(Object pojo)
    
public  voidstop()
    
public  booleantryBeginLock(String lockID, int type)
    
public  booleantryMonitorEnter(Object obj, long timeoutInNanos, int type)
    
public  intwaitLength(Object obj)
    

Field Detail
CLASS
final public static String CLASS(Code)
This class's class path: com/tc/object/bytecode/Manager



LOCK_TYPE_CONCURRENT
final public static int LOCK_TYPE_CONCURRENT(Code)



LOCK_TYPE_READ
final public static int LOCK_TYPE_READ(Code)



LOCK_TYPE_SYNCHRONOUS_WRITE
final public static int LOCK_TYPE_SYNCHRONOUS_WRITE(Code)



LOCK_TYPE_WRITE
final public static int LOCK_TYPE_WRITE(Code)



TYPE
final public static String TYPE(Code)
Bytecode type definition for this class





Method Detail
addClusterEventListener
public void addClusterEventListener(ClusterEventListener cel)(Code)
Add listener for cluster events
Parameters:
  cel - Listener



beginLock
public void beginLock(String lockID, int type)(Code)
Begin lock
Parameters:
  lockID - Lock identifier
Parameters:
  type - Lock type



beginVolatile
public void beginVolatile(TCObject tcObject, String fieldName, int type)(Code)
Begin volatile lock
Parameters:
  tcObject - TCObject to lock
Parameters:
  fieldName - Field name holding volatile object
Parameters:
  type - Lock type



checkWriteAccess
public void checkWriteAccess(Object context)(Code)
Check whether current context has write access
Parameters:
  context - Context object
throws:
  com.tc.object.util.ReadOnlyException - If in read-only transaction



commitLock
public void commitLock(String lockName)(Code)
Commit lock
Parameters:
  lockName - Lock name



commitVolatile
public void commitVolatile(TCObject tcObject, String fieldName)(Code)
Commit volatile lock
Parameters:
  tcObject - Volatile object TCObject
Parameters:
  fieldName - Field holding the volatile object



createOrReplaceRoot
public Object createOrReplaceRoot(String rootName, Object object)(Code)
Create or replace root, typically used for replaceable roots.
Parameters:
  rootName - Root name
Parameters:
  object - Root object Root object used



deepCopy
public Object deepCopy(Object source)(Code)
Deep copy the source object graph
Parameters:
  source - Source object The copy



distributedMethodCall
public boolean distributedMethodCall(Object receiver, String method, Object[] params, boolean runOnAllNodes)(Code)
Perform distributed method call
Parameters:
  receiver - The receiver object
Parameters:
  method - The method to call
Parameters:
  params - The parameter values
Parameters:
  runOnAllNodes - True if should run on all nodes, false just for this node



distributedMethodCallCommit
public void distributedMethodCallCommit()(Code)
Commit DMI call



getClientID
public String getClientID()(Code)
Get JVM Client identifier Client identifier



getDmiManager
public DmiManager getDmiManager()(Code)
DMI manager



getLogger
public TCLogger getLogger(String loggerName)(Code)
Get the named logger
Parameters:
  name - Logger name The logger



getSessionMonitorMBean
public SessionMonitorMBean getSessionMonitorMBean()(Code)
Session monitor MBean



getTCProperites
public TCProperties getTCProperites()(Code)
TCProperties



init
public void init()(Code)
Initialize the Manager



isCreationInProgress
public boolean isCreationInProgress()(Code)
Check whether a creation is in progress. This flag is set on a per-thread basis while hydrating an object from DNA. True if in progress



isDsoMonitorEntered
public boolean isDsoMonitorEntered(Object obj)(Code)
Check whether dso MonitorExist is required True if required



isDsoMonitored
public boolean isDsoMonitored(Object obj)(Code)
Check whether an object is shared
Parameters:
  object - Instance True if shared



isFieldPortableByOffset
public boolean isFieldPortableByOffset(Object pojo, long fieldOffset)(Code)
Returns true if the field represented by the offset is a portable field, i.e., not static and not dso transient
Parameters:
  pojo - Object
Parameters:
  fieldOffset - The index true if the field is portable and false otherwise



isHeldByCurrentThread
public boolean isHeldByCurrentThread(Object obj, int lockLevel)(Code)
Check whether this lock is held by the current thread
Parameters:
  obj - The lock
Parameters:
  lockLevel - The lock level True if held by current thread
throws:
  NullPointerException - If obj is null



isLocked
public boolean isLocked(Object obj, int lockLevel)(Code)
Check whether an object is locked at this lockLevel
Parameters:
  obj - Lock
Parameters:
  lockLevel - Lock level True if locked at this level
throws:
  NullPointerException - If obj is null



isLogical
public boolean isLogical(Object object)(Code)
Check whether object is logically instrumented
Parameters:
  object - Instance True if logically instrumented



isManaged
public boolean isManaged(Object object)(Code)
Check whether an object is managed
Parameters:
  object - Instance True if managed



isPhysicallyInstrumented
public boolean isPhysicallyInstrumented(Class clazz)(Code)
Determine whether this class is physically instrumented
Parameters:
  clazz - Class True if physically instrumented



isRoot
public boolean isRoot(Field field)(Code)
Check whether field is a root
Parameters:
  field - Field True if root



localHeldCount
public int localHeldCount(Object obj, int lockLevel)(Code)
Get number of locks held locally on this object
Parameters:
  obj - The lock object
Parameters:
  lockLevel - The lock level Lock count
throws:
  NullPointerException - If obj is null



logicalInvoke
public void logicalInvoke(Object object, String methodName, Object[] params)(Code)
Perform invoke on logical managed object
Parameters:
  object - The object
Parameters:
  methodName - The method to call
Parameters:
  params - The parameters to the method



logicalInvokeWithTransaction
public void logicalInvokeWithTransaction(Object object, Object lockObject, String methodName, Object[] params)(Code)
Perform invoke on logical managed object in lock
Parameters:
  object - The object
Parameters:
  lockObject - The lock object
Parameters:
  methodName - The method to call
Parameters:
  params - The parameters to the method



lookupExistingOrNull
public TCObject lookupExistingOrNull(Object obj)(Code)
Find managed object, which may be null
Parameters:
  obj - The object instance The TCObject



lookupObject
public Object lookupObject(ObjectID id) throws ClassNotFoundException(Code)
Look up object by ID, faulting into the JVM if necessary
Parameters:
  id - Object identifier The actual object



lookupObject
public Object lookupObject(ObjectID id, ObjectID parentContext) throws ClassNotFoundException(Code)
Look up object by ID, faulting into the JVM if necessary, This method also passes the parent Object context so that more intelligent prefetching is possible at the L2.
Parameters:
  id - Object identifier of the object we are looking up
Parameters:
  parentContext - Object identifier of the parent object The actual object
throws:
  TCClassNotFoundException - If a class is not found during faulting



lookupOrCreate
public TCObject lookupOrCreate(Object obj)(Code)
Find or create new TCObject
Parameters:
  obj - The object instance The TCObject



lookupOrCreateRoot
public Object lookupOrCreateRoot(String name, Object object)(Code)
Look up or create a new root object
Parameters:
  name - Root name
Parameters:
  object - Root object to use if none exists yet The root object actually used, may or may not == object



lookupOrCreateRootNoDepth
public Object lookupOrCreateRootNoDepth(String name, Object obj)(Code)
Look up or create a new root object. Objects faulted in to arbitrary depth.
Parameters:
  name - Root name
Parameters:
  obj - Root object to use if none exists yet The root object actually used, may or may not == object



lookupRoot
public Object lookupRoot(String name)(Code)
Lookup root by name
Parameters:
  name - Name of root Root object



monitorEnter
public void monitorEnter(Object obj, int type)(Code)
Enter synchronized monitor
Parameters:
  obj - Object
Parameters:
  type - Lock type



monitorExit
public void monitorExit(Object obj)(Code)
Exit synchronized monitor
Parameters:
  obj - Object



objectNotify
public void objectNotify(Object obj)(Code)
Perform notify on obj
Parameters:
  obj - Instance



objectNotifyAll
public void objectNotifyAll(Object obj)(Code)
Perform notifyAll on obj
Parameters:
  obj - Instance



objectWait0
public void objectWait0(Object obj) throws InterruptedException(Code)
Perform untimed wait on obj
Parameters:
  obj - Instance



objectWait1
public void objectWait1(Object obj, long millis) throws InterruptedException(Code)
Perform timed wait on obj
Parameters:
  obj - Instance
Parameters:
  millis - Wait time



objectWait2
public void objectWait2(Object obj, long millis, int nanos) throws InterruptedException(Code)
Perform timed wait on obj
Parameters:
  obj - Instance
Parameters:
  millis - Wait time
Parameters:
  nonas - More wait time



optimisticBegin
public void optimisticBegin()(Code)
Begin an optimistic transaction



optimisticCommit
public void optimisticCommit() throws ClassNotFoundException(Code)
Commit an optimistic transaction
throws:
  ClassNotFoundException - If class not found while faulting in object



optimisticRollback
public void optimisticRollback()(Code)
Rollback an optimistic transaction



queueLength
public int queueLength(Object obj)(Code)
Number in queue waiting on this lock
Parameters:
  obj - The object Number of waiters
throws:
  NullPointerException - If obj is null



shareObjectIfNecessary
public TCObject shareObjectIfNecessary(Object pojo)(Code)

Parameters:
  pojo - Object instance TCObject for pojo



stop
public void stop()(Code)
Stop the manager



tryBeginLock
public boolean tryBeginLock(String lockID, int type)(Code)
Try to begin lock
Parameters:
  lockID - Lock identifier
Parameters:
  type - Lock type True if lock was successful



tryMonitorEnter
public boolean tryMonitorEnter(Object obj, long timeoutInNanos, int type)(Code)
Try to enter monitor for specified object
Parameters:
  obj - The object monitor
Parameters:
  timeoutInNanos - Timeout in nanoseconds
Parameters:
  type - The lock level True if entered
throws:
  NullPointerException - If obj is null



waitLength
public int waitLength(Object obj)(Code)
Number in queue waiting on this wait()
Parameters:
  obj - The object Number of waiters
throws:
  NullPointerException - If obj is null



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