| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IAfLockMgr
Provides access to members that work with the application lock manager.
| Method Summary | |
|---|---|
 boolean | 
checkLock(String fileName,
          int lockMgrType)
Indicates if the specified lock type can be sucessfully set on the filename.  | 
 boolean | 
clearLock(String fileName,
          int lockMgrType)
Clears the specified lock type from the filename.  | 
 void | 
isAlive()
Indicates if a local lock manager process is active.  | 
 boolean | 
isGlobalAlive()
Indicates if a global lock manager process is active.  | 
 boolean | 
register()
Registers object with the lock manager and starts the lock manager process if it is not running.  | 
 boolean | 
setLock(String fileName,
        int lockMgrType)
Places the selected lock type on the given filename.  | 
 boolean | 
unregister()
Unregisters object from the lock manager and removes all locks set by the object.  | 
| Method Detail | 
|---|
void isAlive()
             throws IOException,
                    AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean isGlobalAlive()
                      throws IOException,
                             AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean register()
                 throws IOException,
                        AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean unregister()
                   throws IOException,
                          AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean setLock(String fileName,
                int lockMgrType)
                throws IOException,
                       AutomationException
fileName - The fileName  (in)lockMgrType - A com.esri.arcgis.system.esriLockMgrType constant  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean checkLock(String fileName,
                  int lockMgrType)
                  throws IOException,
                         AutomationException
fileName - The fileName  (in)lockMgrType - A com.esri.arcgis.system.esriLockMgrType constant  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean clearLock(String fileName,
                  int lockMgrType)
                  throws IOException,
                         AutomationException
fileName - The fileName  (in)lockMgrType - A com.esri.arcgis.system.esriLockMgrType constant  (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||