public class Attributes
extends java.lang.Object
implements java.io.Serializable
Represents metadata attributes of a collection.
Constructor and Description |
---|
Attributes(java.lang.String collection)
Instantiates a new
Attributes . |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCollection()
The name of the collection associated with this attribute.
|
long |
getCreatedTime()
The collection creation timestamp.
|
long |
getExpiryWait()
The sync lock expiration time in milliseconds.
|
long |
getLastModifiedTime()
The last modified timestamp.
|
long |
getLastSynced()
The last replication timestamp.
|
long |
getSyncLock()
The sync lock data of the collection.
|
java.lang.String |
getUuid()
The unique identifier of the collection.
|
void |
setCollection(java.lang.String collection)
The name of the collection associated with this attribute.
|
void |
setCreatedTime(long createdTime)
The collection creation timestamp.
|
void |
setExpiryWait(long expiryWait)
The sync lock expiration time in milliseconds.
|
void |
setLastModifiedTime(long lastModifiedTime)
The last modified timestamp.
|
void |
setLastSynced(long lastSynced)
The last replication timestamp.
|
void |
setSyncLock(long syncLock)
The sync lock data of the collection.
|
void |
setUuid(java.lang.String uuid)
The unique identifier of the collection.
|
public Attributes(java.lang.String collection)
Instantiates a new Attributes
.
public long getCreatedTime()
The collection creation timestamp.
public long getLastModifiedTime()
The last modified timestamp.
public long getLastSynced()
The last replication timestamp.
public long getSyncLock()
The sync lock data of the collection.
public long getExpiryWait()
The sync lock expiration time in milliseconds.
public java.lang.String getCollection()
The name of the collection associated with this attribute.
public java.lang.String getUuid()
The unique identifier of the collection.
public void setCreatedTime(long createdTime)
The collection creation timestamp.
createdTime
- collection creation timestamppublic void setLastModifiedTime(long lastModifiedTime)
The last modified timestamp.
createdTime
- last collection modification timestamppublic void setLastSynced(long lastSynced)
The last replication timestamp.
createdTime
- last replication timestamppublic void setSyncLock(long syncLock)
The sync lock data of the collection.
syncLock
- the sync lock datapublic void setExpiryWait(long expiryWait)
The sync lock expiration time in milliseconds.
syncLock
- the sync lock expiration time in millisecondspublic void setCollection(java.lang.String collection)
The name of the collection associated with this attribute.
collection
- the name of the collectionpublic void setUuid(java.lang.String uuid)
The unique identifier of the collection.
uuid
- unique identifier of the collection