public class OplockLeakTest.OplockBreakHandler extends OplockAdapter
| Constructor and Description |
|---|
OplockLeakTest.OplockBreakHandler(java.io.StringWriter log)
Class constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasOplockBreak()
Check if an oplock break has been received
|
int |
oplockBreak(CIFSFile cifsFile)
Oplock break callback
|
boolean |
sendAutomaticBreakResponse()
Do not send an automatic response to the oplock break reqeust from the server
|
public OplockLeakTest.OplockBreakHandler(java.io.StringWriter log)
log - StringWriterpublic int oplockBreak(CIFSFile cifsFile)
oplockBreak in interface OplockInterfaceoplockBreak in class OplockAdaptercifsFile - CIFSFilepublic boolean sendAutomaticBreakResponse()
sendAutomaticBreakResponse in interface OplockInterfacesendAutomaticBreakResponse in class OplockAdapterpublic boolean hasOplockBreak()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.