This  is what it looks like
//declarations
IgniteCache<Long, Event> eventCache;


        if (event.getEventId() == null) {
                        throw new IllegalArgumentException("No event ID found 
for " +
event.toString() + " unable to write to cache");
                }

                boolean success = 
this.eventCache.putIfAbsent(event.getEventId(), event);


//event object is pojo (interface)

/**
 * Interface for event objects.
 */
public interface Event extends Serializable, Comparable<Event> {

    /*
    
*--------------------------------------------------------------------------
     * Getters
    
*--------------------------------------------------------------------------
     */
    Long getEventId();

    String getTriggeredByComponent();

    Payload getPayload();

    String getEventType();

    LocalDateTime getCreatedTime();

    LocalDateTime getArrivalTime();

    Long getExternalId();

    long[] getTriggeredByIds();

    WorkflowInstance getWorkflow();

    String getActionName();

    /*
    
*--------------------------------------------------------------------------
     * Setters
    
*--------------------------------------------------------------------------
     */
    void setEventId(long eventId);

    void setWorkflow(WorkflowInstance workflow);

    void setTriggeredByIds(long[] triggeredByIds);

    void setTriggeredByComponent(String component);
    
    void setActionName(String actionName);
}




--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Can-not-find-schema-for-object-with-compact-footer-tp7406p7426.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to