com.esri.sde.sdk.client
Class SeConnection.SeStreamSpec

java.lang.Object
  extended by com.esri.sde.sdk.client.SeConnection.SeStreamSpec
Enclosing class:
SeConnection

public static class SeConnection.SeStreamSpec
extends java.lang.Object

This inner class is used to set and retrieve the specifications of streams associated with a connection object.


Constructor Summary
SeConnection.SeStreamSpec()
          Constructs an empty (all values set to zero) stream specification.
 
Method Summary
 int getAttributeArraySize()
          Returns the attribute array buffer size.
 int getBlobArraySize()
          Returns the blob array buffer size.
 int getMaxArraySize()
          Returns the maximum number of elements per array.
 int getMaxBufSize()
          Returns the maximum size of the stream buffer.
 int getMaxSizePerBlob()
          Returns the maximum individual blob size in array fetch.
 int getMinBufSize()
          Returns the minimum size of the stream buffer.
 int getMinObjects()
          Returns the minimum number of objects to put in a buffer.
 int getRasterBufSize()
          Returns the raster buffer size.
 int getShapePointArraySize()
          Returns the shape geometry array buffer size.
 int getStreamPoolSize()
          Returns the number of streams to keep in the pool.
 void setAttributeArraySize(int attrArraySize)
          Sets the attribute array buffer size.
 void setBlobArraySize(int blobArraySize)
          Sets the blob array buffer size.
 void setMaxArraySize(int maxArraySize)
          Sets the maximum number of elements per array.
 void setMaxBufSize(int maxSize)
          Sets the maximum stream buffer size.
 void setMaxSizePerBlob(int maxSizePerBlob)
          Sets the maximum individual blob size.
 void setMinBufSize(int minSize)
          Sets the minimum stream buffer size.
 void setMinObjects(int minObjects)
          Sets the minimum number of objects to put in the buffer.
 void setRasterBufSize(int rasterBufSize)
          Sets the size of the raster buffer.
 void setShapePointArraySize(int geomArraySize)
          Sets the shape geometry array buffer size.
 void setStreamPoolSize(int streamPoolSize)
          Sets the number of stream to be keep in the pool.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SeConnection.SeStreamSpec

public SeConnection.SeStreamSpec()
Constructs an empty (all values set to zero) stream specification. Use the set methods to set the stream specification fields to the desired values. Call SeConnection.setStreamSpec() to change the specification for all new streams.

Method Detail

getMinBufSize

public int getMinBufSize()
Returns the minimum size of the stream buffer.

Returns:
int

getMaxBufSize

public int getMaxBufSize()
Returns the maximum size of the stream buffer.

Returns:
int

getMinObjects

public int getMinObjects()
Returns the minimum number of objects to put in a buffer.

Returns:
int

getMaxArraySize

public int getMaxArraySize()
Returns the maximum number of elements per array.

Returns:
int

getAttributeArraySize

public int getAttributeArraySize()
Returns the attribute array buffer size.

Returns:
int

getShapePointArraySize

public int getShapePointArraySize()
Returns the shape geometry array buffer size.

Returns:
int

getBlobArraySize

public int getBlobArraySize()
Returns the blob array buffer size.

Returns:
int

getMaxSizePerBlob

public int getMaxSizePerBlob()
Returns the maximum individual blob size in array fetch.

Returns:
int

getStreamPoolSize

public int getStreamPoolSize()
Returns the number of streams to keep in the pool.

Returns:
int

getRasterBufSize

public int getRasterBufSize()
Returns the raster buffer size.

Returns:
int

setMinBufSize

public void setMinBufSize(int minSize)
Sets the minimum stream buffer size.

Parameters:
minSize - the minimum stream buffer size desired.

setMaxBufSize

public void setMaxBufSize(int maxSize)
Sets the maximum stream buffer size.

Parameters:
maxSize - the maximum stream buffer size desired.

setMinObjects

public void setMinObjects(int minObjects)
Sets the minimum number of objects to put in the buffer.

Parameters:
minObjects - the minimum number of objects to be allowed in the buffer.

setMaxArraySize

public void setMaxArraySize(int maxArraySize)
Sets the maximum number of elements per array.

Parameters:
maxArraySize - the maximum number of elements per array.

setAttributeArraySize

public void setAttributeArraySize(int attrArraySize)
Sets the attribute array buffer size.

Parameters:
attrArraySize - the attribute array buffer size.

setShapePointArraySize

public void setShapePointArraySize(int geomArraySize)
Sets the shape geometry array buffer size.

Parameters:
geomArraySize - the shape array buffer size desired.

setBlobArraySize

public void setBlobArraySize(int blobArraySize)
Sets the blob array buffer size.

Parameters:
blobArraySize - the blob array size desired.

setMaxSizePerBlob

public void setMaxSizePerBlob(int maxSizePerBlob)
Sets the maximum individual blob size.

Parameters:
maxSizePerBlob - the maximum blob size desired.

setStreamPoolSize

public void setStreamPoolSize(int streamPoolSize)
Sets the number of stream to be keep in the pool.

Parameters:
streamPoolSize - the maximum number of streams desired.

setRasterBufSize

public void setRasterBufSize(int rasterBufSize)
Sets the size of the raster buffer.

Parameters:
rasterBufSize - the size of the raster buffer desired.