Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for oplockLevel (0.04 sec)

  1. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

            void testReadDifferentOplockLevels(byte oplockLevel) throws Exception {
                byte[] buffer = createValidOplockBreakBuffer(oplockLevel, createTestData(16));
    
                int bytesRead = notification.readBytesWireFormat(buffer, 0);
                assertEquals(24, bytesRead);
    
                Field oplockLevelField = Smb2OplockBreakNotification.class.getDeclaredField("oplockLevel");
                oplockLevelField.setAccessible(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

            }
            super.prepare(next);
        }
    
        /**
         * Get the oplock level granted by the server
         * @return the oplockLevel
         */
        public final byte getOplockLevel() {
            return this.oplockLevel;
        }
    
        /**
         * Get the open flags returned by the server
         * @return the flags
         */
        public final byte getOpenFlags() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

            setRequestedOplockLevel(SMB2_OPLOCK_LEVEL_LEASE);
        }
    
        /**
         * Remove lease contexts and fall back to oplock
         * @param oplockLevel the oplock level to fall back to
         */
        public void fallbackToOplock(byte oplockLevel) {
            // Remove any lease contexts
            if (this.createContexts != null) {
                CreateContextRequest[] filteredContexts = null;
                int count = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
Back to top