public class SubnetworkStorage extends Object
| Constructor and Description |
|---|
SubnetworkStorage(DataAccess da) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
SubnetworkStorage |
create(long byteCount) |
void |
flush() |
long |
getCapacity() |
int |
getSubnetwork(int nodeId)
Returns the subnetwork ID for the specified nodeId or 0 if non is associated e.g.
|
boolean |
isClosed() |
boolean |
loadExisting() |
void |
setSubnetwork(int nodeId,
int subnetwork)
This method sets the subnetwork if of the specified nodeId.
|
public SubnetworkStorage(DataAccess da)
public int getSubnetwork(int nodeId)
public void setSubnetwork(int nodeId,
int subnetwork)
public boolean loadExisting()
public SubnetworkStorage create(long byteCount)
public void flush()
public void close()
public boolean isClosed()
public long getCapacity()
Copyright © 2012–2022. All rights reserved.