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 OplockInterface
oplockBreak
in class OplockAdapter
cifsFile
- CIFSFilepublic boolean sendAutomaticBreakResponse()
sendAutomaticBreakResponse
in interface OplockInterface
sendAutomaticBreakResponse
in class OplockAdapter
public boolean hasOplockBreak()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.