Show / Hide Table of Contents

Class AbstractEntryBundler.Bundle

Bundle represents a unit of optimized execution.

Inheritance
object
AbstractBundler.Bundle
AbstractEntryBundler.Bundle
Inherited Members
AbstractBundler.Bundle.Bundler
AbstractBundler.Bundle.SyncRoot
AbstractBundler.Bundle.BundleSize
AbstractBundler.Bundle.IsMaster
AbstractBundler.Bundle.TotalBundles
AbstractBundler.Bundle.TotalSize
AbstractBundler.Bundle.TotalBurstDuration
AbstractBundler.Bundle.TotalWaitDuration
AbstractBundler.Bundle.Lock
AbstractBundler.Bundle.IsOpen()
AbstractBundler.Bundle.IsPending()
AbstractBundler.Bundle.IsProcessed()
AbstractBundler.Bundle.IsException()
AbstractBundler.Bundle.SetStatus(int)
AbstractBundler.Bundle.WaitForResults(bool)
AbstractBundler.Bundle.EnsureResults(bool)
AbstractBundler.Bundle.ResetStatistics()
AbstractBundler.Bundle.ToString()
AbstractBundler.Bundle.FormatStatusName(int)
AbstractBundler.Bundle.STATUS_OPEN
AbstractBundler.Bundle.STATUS_PENDING
AbstractBundler.Bundle.STATUS_PROCESSED
AbstractBundler.Bundle.STATUS_EXCEPTION
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: Tangosol.Net.Cache
Assembly: Coherence.dll
Syntax
protected class AbstractEntryBundler.Bundle : AbstractBundler.Bundle

Constructors

Bundle()

Default constructor.

Declaration
protected Bundle()

Bundle(AbstractBundler)

Constructor.

Declaration
public Bundle(AbstractBundler bundler)
Parameters
Type Name Description
AbstractBundler bundler

The bundler the operations are performed on.

Methods

Add(object, object)

Add the specified entry to the Bundle.

Declaration
public bool Add(object key, object value)
Parameters
Type Name Description
object key

The entry key.

object value

The entry value.

Returns
Type Description
bool

True if this Bundle was empty prior to this call.

AddAll(IDictionary)

Add the specified collection of entries to the Bundle.

Declaration
public bool AddAll(IDictionary dictionary)
Parameters
Type Name Description
IDictionary dictionary

The collection of entries.

Returns
Type Description
bool

True if this Bundle was empty prior to this call.

EnsureResults()

Obtain results of the bundled requests.

Declaration
public override void EnsureResults()
Overrides
AbstractBundler.Bundle.EnsureResults()

GetBundleSize()

Bundle size. The return value should be expressed in the same units as the value returned by the SizeThreshold property.

Declaration
protected int GetBundleSize()
Returns
Type Description
int

Bundle size.

Process(bool, object, object)

Process the specified entry according to this Bundle state.

Declaration
public void Process(bool isBurst, object key, object value)
Parameters
Type Name Description
bool isBurst

True if this thread is supposed to perform an actual bundled operation (burst); false otherwise

object key

The entry key.

object value

The entry value.

ProcessAll(bool, IDictionary)

Process the specified collection of entries according to this Bundle state.

Declaration
public void ProcessAll(bool isBurst, IDictionary dictionary)
Parameters
Type Name Description
bool isBurst

True if this thread is supposed to perform an actual bundled operation (burst); false otherwise

IDictionary dictionary

The collection of entries.

ReleaseThread()

Release all bundle resources associated with the current thread.

Declaration
protected bool ReleaseThread()
Returns
Type Description
bool

True iff all entered threads have released.

In this article
Back to top Copyright © 2000, 2024, Oracle and/or its affiliates.