public class BlockInfo extends Object
Java class for BlockInfo complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="BlockInfo">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="TopContributors" type="{}TopContributorInfo"/>
<element name="Block" type="{}BlockInfo" maxOccurs="unbounded"/>
</sequence>
<attribute name="BlockEndsAt" type="{http://www.w3.org/2001/XMLSchema}integer" />
<attribute name="BlockStartAt" type="{http://www.w3.org/2001/XMLSchema}integer" />
<attribute name="TotalTime" type="{http://www.w3.org/2001/XMLSchema}long" />
<attribute name="AVGTime" type="{http://www.w3.org/2001/XMLSchema}long" />
<attribute name="TotalCalls" type="{http://www.w3.org/2001/XMLSchema}integer" />
<attribute name="Name" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Long |
avgTime |
protected List<BlockInfo> |
block |
protected BigInteger |
blockEndsAt |
protected BigInteger |
blockStartAt |
protected String |
name |
protected TopContributorInfo |
topContributors |
protected BigInteger |
totalCalls |
protected Long |
totalTime |
| Constructor and Description |
|---|
BlockInfo() |
| Modifier and Type | Method and Description |
|---|---|
Long |
getAVGTime()
Gets the value of the avgTime property.
|
List<BlockInfo> |
getBlock()
Gets the value of the block property.
|
BigInteger |
getBlockEndsAt()
Gets the value of the blockEndsAt property.
|
BigInteger |
getBlockStartAt()
Gets the value of the blockStartAt property.
|
String |
getName()
Gets the value of the name property.
|
TopContributorInfo |
getTopContributors()
Gets the value of the topContributors property.
|
BigInteger |
getTotalCalls()
Gets the value of the totalCalls property.
|
Long |
getTotalTime()
Gets the value of the totalTime property.
|
void |
setAVGTime(Long value)
Sets the value of the avgTime property.
|
void |
setBlockEndsAt(BigInteger value)
Sets the value of the blockEndsAt property.
|
void |
setBlockStartAt(BigInteger value)
Sets the value of the blockStartAt property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setTopContributors(TopContributorInfo value)
Sets the value of the topContributors property.
|
void |
setTotalCalls(BigInteger value)
Sets the value of the totalCalls property.
|
void |
setTotalTime(Long value)
Sets the value of the totalTime property.
|
protected TopContributorInfo topContributors
protected BigInteger blockEndsAt
protected BigInteger blockStartAt
protected Long totalTime
protected Long avgTime
protected BigInteger totalCalls
protected String name
public TopContributorInfo getTopContributors()
TopContributorInfopublic void setTopContributors(TopContributorInfo value)
value - allowed object is
TopContributorInfopublic List<BlockInfo> getBlock()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the block property.
For example, to add a new item, do as follows:
getBlock().add(newItem);
Objects of the following type(s) are allowed in the list
BlockInfo
public BigInteger getBlockEndsAt()
BigIntegerpublic void setBlockEndsAt(BigInteger value)
value - allowed object is
BigIntegerpublic BigInteger getBlockStartAt()
BigIntegerpublic void setBlockStartAt(BigInteger value)
value - allowed object is
BigIntegerpublic Long getTotalTime()
Longpublic void setTotalTime(Long value)
value - allowed object is
Longpublic Long getAVGTime()
Longpublic void setAVGTime(Long value)
value - allowed object is
Longpublic BigInteger getTotalCalls()
BigIntegerpublic void setTotalCalls(BigInteger value)
value - allowed object is
BigIntegerpublic String getName()
StringCopyright 2007, 2026, Oracle. All rights reserved.