org.openmdx.base.collection
Interface FetchSize

All Known Implementing Classes:
DelegatingContainer, MarshallingContainer, MarshallingContainer_1, MarshallingFilterableMap

public interface FetchSize

The Fetch Size interface adds the ability to specify the fetch size


Field Summary
static int DEFAULT_FETCH_SIZE
          This value sinifies that the provider's default fetch size should be used.
 
Method Summary
 int getFetchSize()
          Get the proposed fetch size
 void setFetchSize(int fetchSize)
          Set the proposed fetch size
 

Field Detail

DEFAULT_FETCH_SIZE

static final int DEFAULT_FETCH_SIZE
This value sinifies that the provider's default fetch size should be used.

See Also:
Constant Field Values
Method Detail

getFetchSize

int getFetchSize()
Get the proposed fetch size

Returns:
the proposed fetch size; or DEFAULT_FETCH_SIZE if the default fetch size should be used

setFetchSize

void setFetchSize(int fetchSize)
Set the proposed fetch size

Parameters:
fetchSize - the proposed fetch size, or 0 if the default fetch size should be used


This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.