docs: @Override
      public int attemptToSetFileChannelCapable(int value) {
          // Can't go from Disabled to enabled.
          // Can't go from disabled/enabled to NOT_SET
          if (value == FILE_CHANNEL_CAPABLE_DISABLED) {
              fileChannelCapable = FILE_CHANNEL_CAPABLE_DISABLED;
          } else if (value == FILE_CHANNEL_CAPABLE_ENABLED) {
              if (fileChannelCapable == FILE_CHANNEL_CAPABLE_NOT_SET) {
                  fileChannelCapable = FILE_CHANNEL_CAPABLE_ENABLED;
              }
          }
  
          // let the user know what the current value is, since it might not be
          // what the caller attempted to set it to.
          if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
              Tr.debug(tc, "set file channel capable: " + this.fileChannelCapable);
          }
          return this.fileChannelCapable;
      }