GigaSpaces XAP 9.0 API

com.j_spaces.core.cluster
Interface IReplicationFilterEntry

All Superinterfaces:
IFilterEntry, IGSEntry, Serializable

public interface IReplicationFilterEntry
extends IFilterEntry

Represents an entry instance passed to the IReplicationFilter.

Since:
5.0
Author:
Guy Korland
See Also:
IReplicationFilter

Method Summary
 void discard()
          Discard this entry from the replication.
 int getObjectType()
          Gets the object type as defined at ObjectTypes.
 ReplicationOperationType getOperationType()
          Gets the code of the replicated operation.
 boolean isDiscarded()
          Checks if this entry was discarded.
 void setFieldsValues(Object[] values)
          Sets the object values array.
 void setTimeToLive(long time)
          Sets the lease time.
 
Methods inherited from interface com.j_spaces.core.filters.entry.IFilterEntry
getHandback, getNotifyType
 
Methods inherited from interface com.j_spaces.core.IGSEntry
getClassName, getCodebase, getExternalEntry, getFieldPosition, getFieldsNames, getFieldsTypes, getFieldsValues, getFieldType, getFieldValue, getFieldValue, getIndexIndicators, getMapEntry, getObject, getPrimaryKeyName, getRoutingFieldName, getSuperClassesNames, getTimeToLive, getUID, getVersion, isFifo, isIndexedField, isReplicatable, isTransient, setFieldValue, setFieldValue
 

Method Detail

getOperationType

ReplicationOperationType getOperationType()
Gets the code of the replicated operation.

Returns:
the operation code.

getObjectType

int getObjectType()
Gets the object type as defined at ObjectTypes.

Returns:
the object type
See Also:
ObjectTypes

setFieldsValues

void setFieldsValues(Object[] values)
Sets the object values array.

Parameters:
values - the new values array

setTimeToLive

void setTimeToLive(long time)
Sets the lease time.

Parameters:
time - time to live.
See Also:
Lease

discard

void discard()
Discard this entry from the replication.


isDiscarded

boolean isDiscarded()
Checks if this entry was discarded.

Returns:
true if this entry was discarded

GigaSpaces XAP 9.0 API

Copyright © GigaSpaces.