public class SlaveUpdater extends Object
Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
logger |
Constructor and Description |
---|
SlaveUpdater() |
SlaveUpdater(String appId,
int slaveNumber)
Creates a new Slave updater.
|
Modifier and Type | Method and Description |
---|---|
View |
getLocalView() |
<T> T |
getSlaveObject(ObjId<T> id)
Returns the object mapped to 'id', or
null if not present.
|
<T> ArrayList<T> |
getSlaveObjectArrayList(List<ObjId<T>> idList)
Returns an array containing the matching slave object for each
reference in the given array 'idarray'.
|
<T> T |
putSlaveObject(ObjId<T> id,
T object)
Associates 'id' with 'object' in this SlaveUpdater.
|
Object |
removeSlaveObject(ObjId id)
Removes the mapping for 'id' if it exists.
|
public SlaveUpdater(String appId, int slaveNumber)
public SlaveUpdater()
public <T> T getSlaveObject(ObjId<T> id)
public <T> ArrayList<T> getSlaveObjectArrayList(List<ObjId<T>> idList)
public <T> T putSlaveObject(ObjId<T> id, T object)
public Object removeSlaveObject(ObjId id)
public View getLocalView()
Copyright © 2000-2002 Xerox Corporation. All Rights Reserved
Copyright © 2003 World Wide Web Consortium. All Rights Reserved
Copyright © 2004-2015 INRIA. All Rights Reserved
Licensed under the GNU LGPL. For full terms see the file COPYING.