|
GemFire 7.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.gemstone.gemfire.cache.SubscriptionAttributes
public class SubscriptionAttributes
Configuration attributes for defining subscriber requirements and behavior
for a Region.
The InterestPolicy defines what remote operation's data/event
are of interest to this cache's region.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.gemstone.gemfire.DataSerializable |
|---|
DataSerializable.Replaceable |
| Constructor Summary | |
|---|---|
SubscriptionAttributes()
Creates a new SubscriptionAttributes with the default
configuration |
|
SubscriptionAttributes(InterestPolicy interestPolicy)
Creates a new SubscriptionAttributes with the given
interest policy. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object other)
|
void |
fromData(DataInput in)
Reads the state of this object as primitive data from the given DataInput. |
InterestPolicy |
getInterestPolicy()
Returns the interest policy of this subscriber. |
int |
hashCode()
|
void |
readExternal(ObjectInput in)
|
void |
toData(DataOutput out)
Writes the state of this object as primitive data to the given DataOutput. |
String |
toString()
Returns a string representation of the object. |
void |
writeExternal(ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SubscriptionAttributes()
SubscriptionAttributes with the default
configuration
public SubscriptionAttributes(InterestPolicy interestPolicy)
SubscriptionAttributes with the given
interest policy.
interestPolicy - the interest policy this subscriber will use| Method Detail |
|---|
public InterestPolicy getInterestPolicy()
public boolean equals(Object other)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
public void toData(DataOutput out)
throws IOException
DataSerializableDataOutput.
Since 5.7 it is possible for any method call to the specified
DataOutput to throw GemFireRethrowable.
It should not be caught by user code.
If it is it must be rethrown.
toData in interface DataSerializableIOException - A problem occurs while writing to out
public void fromData(DataInput in)
throws IOException,
ClassNotFoundException
DataSerializableDataInput.
fromData in interface DataSerializableIOException - A problem occurs while reading from in
ClassNotFoundException - A class could not be loaded while reading from
in
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
|
GemFire 7.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||