Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 10 for getBooleanProperty (0.27 seconds)

  1. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/util/Util.java

    import org.gradle.api.tasks.util.PatternFilterable;
    
    import javax.annotation.Nullable;
    import java.util.Optional;
    import java.util.function.Supplier;
    
    public class Util {
    
        public static boolean getBooleanProperty(String property, boolean defaultValue) {
            String propertyValue = System.getProperty(property);
            if (propertyValue == null) {
                return defaultValue;
            }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jul 27 15:18:50 GMT 2021
    - 5.1K bytes
    - Click Count (0)
  2. docs/smb3-features/04-directory-leasing-design.md

    public static final String MAX_DIRECTORY_CACHE_ENTRIES = "jcifs.smb.client.maxDirectoryCacheEntries";
    
    public boolean isUseDirectoryLeasing() {
        return getBooleanProperty(USE_DIRECTORY_LEASING, true);
    }
    
    public DirectoryCacheScope getDirectoryCacheScope() {
        String scope = getProperty(DIRECTORY_CACHE_SCOPE, "IMMEDIATE_CHILDREN");
        return DirectoryCacheScope.valueOf(scope);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 36.2K bytes
    - Click Count (0)
  3. docs/smb3-features/02-persistent-handles-design.md

    public static final String HANDLE_STATE_DIR = "jcifs.smb.client.handleStateDirectory";
    
    public boolean isUseDurableHandles() {
        return getBooleanProperty(USE_DURABLE_HANDLES, true);
    }
    
    public boolean isUsePersistentHandles() {
        return getBooleanProperty(USE_PERSISTENT_HANDLES, false);
    }
    
    public long getDurableHandleTimeout() {
        return getLongProperty(DURABLE_HANDLE_TIMEOUT, 120000);  // 2 minutes
    }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 31.6K bytes
    - Click Count (0)
  4. docs/smb3-features/06-witness-protocol-design.md

    public static final String WITNESS_SERVICE_DISCOVERY = "jcifs.smb.client.witnessServiceDiscovery";
    
    public boolean isUseWitness() {
        return getBooleanProperty(USE_WITNESS, false);  // Disabled by default
    }
    
    public long getWitnessHeartbeatTimeout() {
        return getLongProperty(WITNESS_HEARTBEAT_TIMEOUT, 120000);  // 2 minutes
    }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 42K bytes
    - Click Count (0)
  5. docs/smb3-features/01-smb3-lease-design.md

        public static final String MAX_LEASES = "jcifs.smb.client.maxLeases";
        public static final String LEASE_VERSION = "jcifs.smb.client.leaseVersion";
        
        public boolean isUseLeases() {
            return getBooleanProperty(USE_LEASES, true);
        }
        
        public int getLeaseTimeout() {
            return getIntProperty(LEASE_TIMEOUT, 30000);  // 30 seconds default
        }
        
        public int getMaxLeases() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 22K bytes
    - Click Count (0)
  6. docs/smb3-features/03-multi-channel-design.md

    public static final String CHANNEL_HEALTH_CHECK_INTERVAL = "jcifs.smb.client.channelHealthCheckInterval";
    
    public boolean isUseMultiChannel() {
        return getBooleanProperty(USE_MULTI_CHANNEL, true);
    }
    
    public int getMaxChannels() {
        return getIntProperty(MAX_CHANNELS, 4);
    }
    
    public int getChannelBindingPolicy() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 39.6K bytes
    - Click Count (0)
  7. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/BuildToolsConventionsPlugin.java

            int defaultParallel = ParallelDetector.findDefaultParallel(project);
            project.getTasks().withType(Test.class).configureEach(test -> {
                test.onlyIf((t) -> Util.getBooleanProperty("tests.fips.enabled", false) == false);
                test.setMaxParallelForks(defaultParallel);
            });
            // we put all our distributable files under distributions
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Jun 23 09:44:49 GMT 2021
    - 1.5K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/info/GlobalBuildInfoPlugin.java

                params.setDefaultParallel(ParallelDetector.findDefaultParallel(project));
                params.setInFipsJvm(Util.getBooleanProperty("tests.fips.enabled", false));
                params.setIsSnapshotBuild(Util.getBooleanProperty("build.snapshot", true));
                params.setBwcVersions(providers.provider(() -> resolveBwcVersions(rootDir)));
            });
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Aug 17 10:02:58 GMT 2021
    - 18.1K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/vagrant/VagrantMachine.java

            // to true that can be used to control whether or not to destroy any test boxes before test execution.
            boolean destroyVM = Util.getBooleanProperty("vagrant.destroy", true);
            if (destroyVM) {
                execute(spec -> {
                    spec.setCommand("destroy");
                    spec.setArgs("--force");
                });
            }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 7.5K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ElasticsearchTestBasePlugin.java

                String argline = System.getProperty("tests.jvm.argline");
                if (argline != null) {
                    test.jvmArgs((Object[]) argline.split(" "));
                }
    
                if (Util.getBooleanProperty("tests.asserts", true)) {
                    test.jvmArgs("-ea", "-esa");
                }
    
                Map<String, String> sysprops = Map.of(
                    "java.awt.headless",
                    "true",
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Aug 24 22:14:49 GMT 2021
    - 10.4K bytes
    - Click Count (0)
Back to Top