solar.service.pack
Class PackPolicy

java.lang.Object
  |
  +--solar.service.pack.PackPolicy
All Implemented Interfaces:
java.io.Serializable, SolarConstants

public class PackPolicy
extends java.lang.Object
implements java.io.Serializable, SolarConstants

A flow-control policy for PACK service.

Version:
$Id: PackPolicy.java,v 1.8 2003/10/13 14:53:34 glchen Exp $
Author:
Guanling Chen
See Also:
Serialized Form

Field Summary
protected  FilterConfig _coolFilter
           
protected  PackFilter[] _filters
           
protected  java.lang.String[] _gkeys
           
protected  FilterConfig _hotFilter
           
protected  FilterConfig _warmFilter
           
private static long serialVersionUID
           
 
Fields inherited from interface solar.SolarConstants
ADVERTISEMENT_SVID, ATTRIBUTE_RECORD_SVID, ATTRIBUTE_SVID, FILTER_CONFIG_SVID, FILTER_SPEC_SVID, GRAPH_SPEC_SVID, GUID_SVID, HEADER_SVID, ID_SVID, NAME_RECORD_SVID, PACK_POLICY_SVID, PIPE_SPEC_SVID, REQUEST_SVID, RPCACK_SVID
 
Constructor Summary
PackPolicy()
           
 
Method Summary
 PackFilter getCoolFilter()
           
 PackFilter[] getFilters()
          Get the ordered PACK filters encoded in their handlers.
 java.lang.String[] getGroupKeys()
          Get the group attributes for the stream.
 PackFilter getHotFilter()
           
 PackFilter getWarmFilter()
           
 void setCoolFilter(FilterConfig fc)
           
 void setFilters(java.util.List filters)
          Set and load the ordered PACK filters for the stream.
 void setGroupKeys(java.lang.String[] keys)
          Set the group attributes for the stream.
 void setHotFilter(FilterConfig fc)
           
 void setWarmFilter(FilterConfig fc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

_gkeys

protected transient java.lang.String[] _gkeys

_filters

protected transient PackFilter[] _filters

_coolFilter

protected FilterConfig _coolFilter

_warmFilter

protected FilterConfig _warmFilter

_hotFilter

protected FilterConfig _hotFilter
Constructor Detail

PackPolicy

public PackPolicy()
Method Detail

setCoolFilter

public void setCoolFilter(FilterConfig fc)

getCoolFilter

public PackFilter getCoolFilter()
                         throws java.lang.Exception
java.lang.Exception

setWarmFilter

public void setWarmFilter(FilterConfig fc)

getWarmFilter

public PackFilter getWarmFilter()
                         throws java.lang.Exception
java.lang.Exception

setHotFilter

public void setHotFilter(FilterConfig fc)

getHotFilter

public PackFilter getHotFilter()
                        throws java.lang.Exception
java.lang.Exception

setGroupKeys

public void setGroupKeys(java.lang.String[] keys)
Set the group attributes for the stream.


getGroupKeys

public java.lang.String[] getGroupKeys()
Get the group attributes for the stream.


setFilters

public void setFilters(java.util.List filters)
                throws java.lang.Exception
Set and load the ordered PACK filters for the stream.

java.lang.Exception

getFilters

public PackFilter[] getFilters()
Get the ordered PACK filters encoded in their handlers.