Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Coherence
12c (12.1.3.0.0)

E47890-01


com.tangosol.coherence.config.scheme
Class BundleManager.BundleConfig

java.lang.Object
  extended by com.tangosol.coherence.config.scheme.BundleManager.BundleConfig

Enclosing class:
BundleManager

public static class BundleManager.BundleConfig
extends java.lang.Object

The BundleConfig class contains the configuration for a Bundle.


Constructor Summary
BundleManager.BundleConfig()
           

 

Method Summary
 long getDelayMillis(com.tangosol.config.expression.ParameterResolver resolver)
          Specifies the maximum amount of time that individual execution requests are allowed to be deferred for a purpose of "bundling" them and passing into a corresponding bulk operation.
 java.lang.String getOperationName(com.tangosol.config.expression.ParameterResolver resolver)
          Return the operation name for which calls performed concurrently on multiple threads are "bundled" into a functionally analogous "bulk" operation that takes a collection of arguments instead of a single one.
 int getPreferredSize(com.tangosol.config.expression.ParameterResolver resolver)
          Return the bundle size threshold.
 int getThreadThreshold(com.tangosol.config.expression.ParameterResolver resolver)
          Return the minimum number of threads that must be concurrently executing individual(non-bundled) requests for the bundler to switch from a pass-through to a bundling mode.
 boolean isAutoAdjust(com.tangosol.config.expression.ParameterResolver resolver)
          Return true if the auto adjustment of the preferred size value (based on the run-time statistics) is allowed.
 void setAutoAdjust(com.tangosol.config.expression.Expression expr)
          Set the flag to auto adjust the preferred size value, based on the run-time statistics.
 void setDelayMillis(com.tangosol.config.expression.Expression expr)
          Set the write delay.
 void setOperationName(com.tangosol.config.expression.Expression expr)
          Set the operation name for which calls performed concurrently on multiple threads are bundled.
 void setPreferredSize(com.tangosol.config.expression.Expression expr)
          Set the bundle size threshold.
 void setThreadThreshold(com.tangosol.config.expression.Expression expr)
          Set the thread threshold.
protected  void validate(com.tangosol.config.expression.ParameterResolver resolver)
          Validate the bundle configuration.

 

Constructor Detail

BundleManager.BundleConfig

public BundleManager.BundleConfig()

Method Detail

isAutoAdjust

public boolean isAutoAdjust(com.tangosol.config.expression.ParameterResolver resolver)
Return true if the auto adjustment of the preferred size value (based on the run-time statistics) is allowed.
Parameters:
resolver - the ParameterResolver
Returns:
true if auto-adjust is enabled

setAutoAdjust

@Injectable
public void setAutoAdjust(com.tangosol.config.expression.Expression expr)
Set the flag to auto adjust the preferred size value, based on the run-time statistics.
Parameters:
expr - true if auto adjustment is enabled

getDelayMillis

public long getDelayMillis(com.tangosol.config.expression.ParameterResolver resolver)
Specifies the maximum amount of time that individual execution requests are allowed to be deferred for a purpose of "bundling" them and passing into a corresponding bulk operation. If the preferred-size threshold is reached before the specified delay, the bundle is processed immediately.
Parameters:
resolver - the ParameterResolver
Returns:
the write delay

setDelayMillis

@Injectable
public void setDelayMillis(com.tangosol.config.expression.Expression expr)
Set the write delay.
Parameters:
expr - the write delay

getOperationName

public java.lang.String getOperationName(com.tangosol.config.expression.ParameterResolver resolver)
Return the operation name for which calls performed concurrently on multiple threads are "bundled" into a functionally analogous "bulk" operation that takes a collection of arguments instead of a single one.
Parameters:
resolver - the ParameterResolver
Returns:
the operation name

setOperationName

@Injectable
public void setOperationName(com.tangosol.config.expression.Expression expr)
Set the operation name for which calls performed concurrently on multiple threads are bundled.
Parameters:
expr - the operation name

getPreferredSize

public int getPreferredSize(com.tangosol.config.expression.ParameterResolver resolver)
Return the bundle size threshold. When a bundle size reaches this value, the corresponding "bulk" operation is invoked immediately. This value is measured in context-specific units.
Parameters:
resolver - the ParameterResolver
Returns:
the size threshold

setPreferredSize

@Injectable
public void setPreferredSize(com.tangosol.config.expression.Expression expr)
Set the bundle size threshold.
Parameters:
expr - the size threshold

getThreadThreshold

public int getThreadThreshold(com.tangosol.config.expression.ParameterResolver resolver)
Return the minimum number of threads that must be concurrently executing individual(non-bundled) requests for the bundler to switch from a pass-through to a bundling mode.
Parameters:
resolver - the ParameterResolver
Returns:
the thread threshold

setThreadThreshold

@Injectable
public void setThreadThreshold(com.tangosol.config.expression.Expression expr)
Set the thread threshold.
Parameters:
expr - the thread threshold

validate

protected void validate(com.tangosol.config.expression.ParameterResolver resolver)
Validate the bundle configuration.

Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Coherence
12c (12.1.3.0.0)

E47890-01


Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.