FenceStateMap

  • FenceStateMap is a map of fence states keyed off of the fence keys resulting from a FenceQueryRequest.

  • The getFenceKeys method returns the Set of fence keys contained in the FenceStateMap.

  • The getFenceState method returns a FenceState for a given fence key, returning null if no FenceState is found.

public interface FenceStateMap

A map of fence states keyed off of the fence keys resulting from a FenceQueryRequest.

Public Method Summary

abstract Set<String>
getFenceKeys()
Returns the Set of fence keys that are contained in this FenceStateMap.
abstract FenceState
getFenceState(String fenceKey)
Returns a FenceState for the given fence key.

Public Methods

public abstract Set<String> getFenceKeys ()

Returns the Set of fence keys that are contained in this FenceStateMap.

public abstract FenceState getFenceState (String fenceKey)

Returns a FenceState for the given fence key. If no FenceState is found null is returned.