Brooklyn

brooklyn.internal.storage
[Java] Interface Reference


public interface Reference

A reference to a value, backed by the storage-medium.

Authors:
aled
See Also:
BrooklynStorage#getReference(String)#getReference(String)


Method Summary
void clear()

Sets the value back to null.

boolean contains(java.lang.Object other)

@return true if the value equals the given parameter; false otherwise

java.lang.Object get()

boolean isNull()

@return true if the value is null; false otherwise.

java.lang.Object set(java.lang.Object val)

 

Method Detail

clear

public void clear()
Sets the value back to null. Similar to set(null).


contains

public boolean contains(java.lang.Object other)
Returns:
true if the value equals the given parameter; false otherwise


get

public java.lang.Object get()


isNull

public boolean isNull()
Returns:
true if the value is null; false otherwise.


set

public java.lang.Object set(java.lang.Object val)


 

Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.