|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IReplicationFilterEntry
Represents an entry instance passed to the IReplicationFilter
.
IReplicationFilter
Field Summary | |
---|---|
static byte |
DISCARD
Deprecated. |
static byte |
DUMMY
Deprecated. use discard() and isDiscarded() instead |
static byte |
EXTEND_LEASE
Deprecated. |
static byte |
LEASE_EXPIRATION
Deprecated. |
static byte |
TAKE
Deprecated. |
static byte |
UPDATE
Deprecated. |
static byte |
WRITE
Deprecated. |
Method Summary | |
---|---|
void |
discard()
Discard this entry from the replication. |
int |
getObjectType()
Gets the object type as defined at ObjectTypes . |
byte |
getOpCode()
Deprecated. |
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 |
setOpCode(byte opCode)
Deprecated. |
void |
setOperationType(ReplicationOperationType opCode)
Sets the code of the replicated operation. |
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, getEntry, getExternalEntry, getFieldPosition, getFieldsNames, getFieldsTypes, getFieldsValues, getFieldType, getFieldValue, getFieldValue, getFormat, getIndexIndicators, getMapEntry, getObject, getPrimaryKeyName, getSuperClassesNames, getTimeToLive, getUID, getVersion, isFifo, isIndexedField, isReplicatable, isTransient, setFieldValue, setFieldValue |
Field Detail |
---|
@Deprecated static final byte WRITE
JavaSpace.write(net.jini.core.entry.Entry,net.jini.core.transaction.Transaction,long)
,
com.j_spaces.core.cluster.ReplicationOperationType.WRITE
,
Constant Field Values@Deprecated static final byte TAKE
JavaSpace.take(net.jini.core.entry.Entry,net.jini.core.transaction.Transaction,long)
,
com.j_spaces.core.cluster.ReplicationOperationType.TAKE
,
Constant Field Values@Deprecated static final byte EXTEND_LEASE
Lease.renew(long)
,
com.j_spaces.core.cluster.ReplicationOperationType.EXTEND_LEASE
,
Constant Field Values@Deprecated static final byte UPDATE
IJSpace.update(net.jini.core.entry.Entry,net.jini.core.transaction.Transaction,long,long,int)
,
com.j_spaces.core.cluster.ReplicationOperationType.UPDATE
,
Constant Field Values@Deprecated static final byte DISCARD
getOpCode()
after discard()
is called.
com.j_spaces.core.cluster.ReplicationOperationType.DISCARD
,
Constant Field Values@Deprecated static final byte DUMMY
discard()
and isDiscarded()
instead
@Deprecated static final byte LEASE_EXPIRATION
com.j_spaces.core.cluster.ReplicationOperationType.LEASE_EXPIRATION
,
Constant Field ValuesMethod Detail |
---|
@Deprecated byte getOpCode()
getOperationType()
ReplicationOperationType getOperationType()
@Deprecated void setOpCode(byte opCode)
opCode
- the code to setvoid setOperationType(ReplicationOperationType opCode)
opCode
- the code to setint getObjectType()
ObjectTypes
.
ObjectTypes
void setFieldsValues(Object[] values)
values
- the new values arrayvoid setTimeToLive(long time)
time
- time to live.Lease
void discard()
boolean isDiscarded()
true
if this entry was discarded
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |