|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--dd.host.api.HostAppFilter
HostAppFilter
is a summary of the
registers applications that a host is exporting to the rest of
the system.
The String
representation of each application
is added to a filter to represent a summary of all applications
that the a host is exporting. The filter is exported to other nodes
in the system through the use of
host_heartbeats
HostInfo
,
HostHbStage
,
RegisterHostAppReq
,
RegisterHostAppResp
Constructor Summary | |
---|---|
HostAppFilter()
Constructor: Creates a new HostAppFilter . |
|
HostAppFilter(InputBuffer buffer)
Constructor: Creates a new HostAppFilter . |
|
HostAppFilter(Set names)
Constructor: Creates a new HostAppFilter . |
|
HostAppFilter(String name)
Constructor: Creates a new HostAppFilter . |
Method Summary | |
---|---|
void |
add(Set names)
add an application to the filter . |
void |
add(String name)
add an application to the filter . |
Object |
clone()
Specified by java.lang.Object |
int |
compareTo(Object other)
Specified by java.lang.Comparable |
boolean |
contains(HostAppFilter filter)
contains checks if application is exported by host.
|
boolean |
contains(String name)
contains checks if application is exported by host.
|
boolean |
equals(Object other)
Specified by java.lang.Object |
int |
hashCode()
Specified by java.lang.Object |
void |
serialize(OutputBuffer buffer)
Specified by ostore.util.QuickSerializable |
String |
toString()
Specified by java.lang.Object |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public HostAppFilter()
HostAppFilter
.
public HostAppFilter(String name)
HostAppFilter
.
public HostAppFilter(Set names)
HostAppFilter
.
public HostAppFilter(InputBuffer buffer) throws QSException
HostAppFilter
.
Method Detail |
public boolean contains(String name)
contains
checks if application is exported by host.
Returns false
if application is definitely
not supported by host; otherwise true
,
application is possibly supported by host.
name
- String
representation of application.
false
if application is definitely
not supported by host; otherwise true
,
application is possibly supported by host.public boolean contains(HostAppFilter filter)
contains
checks if application is exported by host.
Returns false
if application is definitely
not supported by host; otherwise true
,
application is possibly supported by host.
filter
- HostAppFilter
representation of application.
false
if application is definitely
not supported by host; otherwise true
,
application is possibly supported by host.public void add(String name)
add
an application to the filter
.
name
- application to add to filter.public void add(Set names)
add
an application to the filter
.
names
- application to add to filter.public void serialize(OutputBuffer buffer)
serialize
in interface QuickSerializable
public int hashCode()
hashCode
in class Object
public boolean equals(Object other)
equals
in class Object
public int compareTo(Object other)
compareTo
in interface Comparable
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public String toString()
toString
in class Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |