@Deprecated public interface GlobalDataStructureFactory
GlobalDataStructureFactoryAware
.Modifier and Type | Method and Description |
---|---|
Closeable |
addGlobalMapListener(String name,
GlobalMapListener listener)
Deprecated.
|
GlobalLock |
createGlobalLock(String name,
BreakableLockListener lockListener)
Deprecated.
Creates a global
Lock with the given name if it does not yet exist. |
GlobalMap |
createGlobalMap(String name)
Deprecated.
Creates a persistent
global map with the given name if it does not yet exist. |
GlobalMembership |
createGlobalMembership(String name)
Deprecated.
Creates a
global membership with the given name if it does not yet exist. |
GlobalSet |
createGlobalSet(String name,
MembershipListener listener)
Deprecated.
Creates a
global set with the given name if it does not yet exist. |
GlobalVariable |
createGlobalVariable(String name)
Deprecated.
Creates a
global variable with the given name if it does not yet exist. |
GlobalSet createGlobalSet(String name, MembershipListener listener) throws AttivioException
global set
with the given name
if it does not yet exist. If it already exists, this method returns an
instance of GlobalSet
that attaches to that existing global set
.
Callers must supply a MembershipListener
which can receive and process callbacks when elements are added or removed from the global set
name
- the name of the global set
to create or attach tolistener
- a MembershipListener
which can receive and process callbacks when elements are added to or removed from the global set
GlobalSet
representing either the newly created or pre-existing global set
with name
AttivioException
- if for some reason a global set
with name
cannot be created or attached toGlobalVariable createGlobalVariable(String name) throws AttivioException
global variable
with the given name
if it does not yet exist. If it already exists, this method returns an
instance of GlobalVariable
that attaches to that existing global variable
.name
- the name of the global variable
to create or attach toGlobalVariable
representing either the newly created or pre-existing global variable
with name
AttivioException
- if for some reason a global variable
with name
cannot be created or attached toGlobalMembership createGlobalMembership(String name) throws AttivioException
global membership
with the given name
if it does not yet exist. If it already exists, this method returns an
instance of GlobalMembership
that attaches to that existing global membership
.name
- The name of the global membership
to create or attach toGlobalMembership
representing either the newly created or pre-existing global membership
with name
AttivioException
- if for some reason a global membership
with name
cannot be created or attached toGlobalLock createGlobalLock(String name, BreakableLockListener lockListener) throws AttivioException
Lock
with the given name
if it does not yet exist. If it already exists, this method returns an
instance of Lock
that attaches to that existing global Lock
.name
- the name of the global Lock
to create or attach tolockListener
- a BreakableLockListener
which can receive and process callbacks when the global Lock
is
broken due to network or communication issuesLock.GlobalLock
representing either the newly created or pre-existing global Lock
with name
AttivioException
- if for some reason a global Lock
with name
cannot be created or attached toGlobalMap createGlobalMap(String name) throws AttivioException
global map
with the given name
if it does not yet exist. If it already exists,
this method returns an instance of GlobalMap
that attaches to that existing persistent global map
.name
- the name of the persistent global map
to create or attach toGlobalMap
representing either the newly created or pre-existing persistent global map
with name
AttivioException
- if for some reason a persistent global map
with name
cannot be created or
attached toaddGlobalMapListener(String, GlobalMapListener)
Closeable addGlobalMapListener(String name, GlobalMapListener listener) throws AttivioException
GlobalMapListener
to listen for changes to a persistent global map
with
name
The returned Closeable
should be closed
when updates are no longer
needed.
name
- the name of the persistent global map
to register a listener forlistener
- the GlobalMapListener
to register to listen for changes on the persistent
global map
with name
Closeable
that the caller should call close()
on
when updates are no longer neededAttivioException
- if for some reason listener
cannot be successfully registered to listen
for changes on the persistent global map
with name
createGlobalMap(String)
Copyright © 2018 Attivio, Inc. All Rights Reserved.
PATENT NOTICE: Attivio, Inc. Software Related Patents. With respect to the Attivio software product(s) being used, the following patents apply: Querying Joined Data Within A Search Engine Index: United States Patent No.(s): 8,073,840. Ordered Processing of Groups of Messages: U.S. Patent No.(s) 8,495,656. Signal processing approach to sentiment analysis for entities in documents: U.S. Patent No.(s) 8,725,494. Other U.S. and International Patents Pending.