AbstractBundlerBundle Class |
Namespace: Tangosol.Net.Cache
protected abstract class Bundle
The AbstractBundlerBundle type exposes the following members.
Name | Description | |
---|---|---|
![]() | AbstractBundlerBundle |
Default constructor.
|
![]() | AbstractBundlerBundle(AbstractBundler) |
Default constructor.
|
Name | Description | |
---|---|---|
![]() | Bundler |
The bundler the operations are performed on.
|
![]() | BundleSize |
Bundle size. The return value should be expressed in the
same units as the value returned by the
SizeThreshold property.
|
![]() | IsMaster |
A flag that differentiates the "master" bundle which is
responsible for all auto-adjustments. It's set to "true" for
one and only one Bundle object.
|
![]() | Lock |
An object that serves as a mutex for thread synchronization.
|
![]() | SyncRoot |
Gets an object that can be used to synchronize calls to a
method.
|
![]() | TotalBundles |
Statistics: the total number of times this Bundle has been
used for bundled request processing.
|
![]() | TotalBurstDuration |
Statistics: a total time duration this Bundle has spent in
bundled request processing (burst).
|
![]() | TotalSize |
Statistics: the total size of individual requests processed
by this Bundle expressed in the same units as values returned
by the BundleSize method.
|
![]() | TotalWaitDuration |
Statistics: a total time duration this Bundle has spent
waiting for bundle to be ready for processing.
|
Name | Description | |
---|---|---|
![]() | EnsureResults |
Obtain results of the bundled requests. This method should be
implemented by concrete Bundle implementations using the most
efficient mechanism.
|
![]() | EnsureResults(Boolean) |
Obtain results of the bundled requests or ensure that the results
have already been retrieved.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() ![]() | FormatStatusName |
Return a human readable name for the specified status value.
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | IsException |
Check whether or not this bundle is in the "exception" state -
bundled execution threw an exception and requests have to be
un-bundled.
|
![]() | IsOpen |
Check whether or not this bundle is open for adding request elements.
|
![]() | IsPending |
Check whether or not this bundle is in the "pending" state - awaiting
for the execution results.
|
![]() | IsProcessed |
Check whether or not this bundle is in the "processed" state -
ready to return the result of execution back to the client.
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ReleaseThread |
Release all bundle resources associated with the current thread.
|
![]() | ResetStatistics |
Reset statistics for this Bundle.
|
![]() | SetStatus |
Change the status of this Bundle.
|
![]() | ToString |
Provide a human readable description for the Bundle object
(for debugging).
|
![]() | WaitForResults |
Wait until results of bundled requests are retrieved.
|
Name | Description | |
---|---|---|
![]() ![]() | STATUS_EXCEPTION |
Attempt to bundle encountered and exception; the execution has to be
de-optimized and performed by individual threads.
|
![]() ![]() | STATUS_OPEN |
This Bundle accepting additional items.
|
![]() ![]() | STATUS_PENDING |
This Bundle is closed for accepting additional items and awaiting
for the execution results.
|
![]() ![]() | STATUS_PROCESSED |
This Bundle is in process of returning the result of execution
back to the client.
|