org.exist.storage.lock
Class LockInfo

java.lang.Object
  extended by org.exist.storage.lock.LockInfo

public class LockInfo
extends Object

Encapsulates debug information about a log. This information can be exported via the JMX management interface, if enabled.


Field Summary
static String COLLECTION_LOCK
           
static String READ_LOCK
           
static String RESOURCE_LOCK
           
static String WRITE_LOCK
           
 
Constructor Summary
LockInfo(String lockType, String lockMode, String id, String[] owners)
           
 
Method Summary
 String getId()
           
 String getLockMode()
           
 String getLockType()
           
 String[] getOwners()
           
 String[] getReadLocks()
           
 String[] getWaitingForRead()
           
 String[] getWaitingForWrite()
           
 void setReadLocks(String[] readLocks)
           
 void setWaitingForRead(String[] waitingForRead)
           
 void setWaitingForWrite(String[] waitingForWrite)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COLLECTION_LOCK

public static final String COLLECTION_LOCK
See Also:
Constant Field Values

RESOURCE_LOCK

public static final String RESOURCE_LOCK
See Also:
Constant Field Values

READ_LOCK

public static final String READ_LOCK
See Also:
Constant Field Values

WRITE_LOCK

public static final String WRITE_LOCK
See Also:
Constant Field Values
Constructor Detail

LockInfo

public LockInfo(String lockType,
                String lockMode,
                String id,
                String[] owners)
Method Detail

getLockType

public String getLockType()

getLockMode

public String getLockMode()

getId

public String getId()

getOwners

public String[] getOwners()

getWaitingForWrite

public String[] getWaitingForWrite()

setWaitingForWrite

public void setWaitingForWrite(String[] waitingForWrite)

getWaitingForRead

public String[] getWaitingForRead()

setWaitingForRead

public void setWaitingForRead(String[] waitingForRead)

getReadLocks

public String[] getReadLocks()

setReadLocks

public void setReadLocks(String[] readLocks)


Copyright (C) Wolfgang Meier. All rights reserved.