Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for setRequestedOplockLevel (0.18 sec)

  1. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

            this.securityFlags = securityFlags;
        }
    
        /**
         * Set the requested oplock level for the file
         * @param requestedOplockLevel the requestedOplockLevel to set
         */
        public void setRequestedOplockLevel(final byte requestedOplockLevel) {
            this.requestedOplockLevel = requestedOplockLevel;
        }
    
        /**
         * Set the impersonation level for the create request
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

            request = new Smb2CreateRequest(mockConfig, "test.txt");
    
            request.setRequestedOplockLevel(Smb2CreateRequest.SMB2_OPLOCK_LEVEL_BATCH);
            byte[] buffer = new byte[1024];
            request.writeBytesWireFormat(buffer, 0);
            assertEquals(Smb2CreateRequest.SMB2_OPLOCK_LEVEL_BATCH, buffer[3]);
    
            request.setRequestedOplockLevel(Smb2CreateRequest.SMB2_OPLOCK_LEVEL_EXCLUSIVE);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top