public class StreamMetadata
extends java.lang.Object
| Constructor and Description |
|---|
StreamMetadata() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
Acl |
getAcl()
The Access Control List of the stream (ACL).
|
java.lang.Long |
getCacheControl()
The amount of time for which the stream head is cacheable (in seconds).
|
java.util.Map<java.lang.String,java.lang.Object> |
getCustomProperties()
An enumerable of key-value pairs of keys to JSON text for user-provider metadata.
|
java.lang.Long |
getMaxAge()
The maximum age of events allowed in the stream.
|
java.lang.Long |
getMaxCount()
The maximum number of events allowed in the stream.
|
java.lang.Long |
getTruncateBefore()
The event number from which previous events can be scavenged.
|
int |
hashCode() |
void |
setAcl(Acl acl)
The Access Control List of the stream (ACL).
|
void |
setCacheControl(java.lang.Long cacheControl)
The amount of time for which the stream head is cacheable (in seconds).
|
void |
setCustomProperties(java.util.Map<java.lang.String,java.lang.Object> customProperties)
An enumerable of key-value pairs of keys to JSON text for user-provider metadata.
|
void |
setMaxAge(java.lang.Long maxAge)
The maximum age of events allowed in the stream.
|
void |
setMaxCount(java.lang.Long maxCount)
The maximum number of events allowed in the stream.
|
void |
setTruncateBefore(java.lang.Long truncateBefore)
The event number from which previous events can be scavenged.
|
java.lang.String |
toString() |
public java.lang.Long getMaxAge()
public void setMaxAge(java.lang.Long maxAge)
public java.lang.Long getTruncateBefore()
public void setTruncateBefore(java.lang.Long truncateBefore)
public java.lang.Long getCacheControl()
public void setCacheControl(java.lang.Long cacheControl)
public Acl getAcl()
public void setAcl(Acl acl)
public java.lang.Long getMaxCount()
public void setMaxCount(java.lang.Long maxCount)
public java.util.Map<java.lang.String,java.lang.Object> getCustomProperties()
public void setCustomProperties(java.util.Map<java.lang.String,java.lang.Object> customProperties)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object