THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||
---|---|---|
| ||
public class CacheConfiguration { // ... public void setMarshaller(Marshaller marshaller) {...} public Marshaller getMarshaller() {...} // ... } |
Public API: New Interface
Code Block | ||
---|---|---|
| ||
/**
* Abstracted binary representation of objects.
*/
public interface IgniteObject {
/**
* Gets portable object type ID.
*
* @return Type ID.
*/
public int typeId();
/**
* Gets fully deserialized instance of portable object.
*
* @return Fully deserialized instance of portable object.
*/
@Nullable public <T> T deserialize() throws IgniteException;
/**
* Gets field value.
*
* @param fieldName Field name.
* @return Field value.
*/
@Nullable public <T> T field(String fieldName);
/**
* Checks whether field is set.
*
* @param fieldName Field name.
* @return {@code true} if field is set.
*/
public boolean hasField(String fieldName);
} |
...