|
|||||||||
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
Discard operation - this entry will be discarded from replication. |
static byte |
DUMMY
Deprecated. use discard() and isDiscarded() instead |
static byte |
EXTEND_LEASE
lease renewal. |
static byte |
LEASE_EXPIRATION
lease expired. |
static byte |
TAKE
take operation. |
static byte |
UPDATE
update operation. |
static byte |
WRITE
write/notify operation. |
Method Summary | |
---|---|
void |
discard()
Discard this entry from the replication. |
int |
getObjectType()
Gets the object type as defined at ObjectTypes . |
byte |
getOpCode()
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)
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 |
---|
static final byte WRITE
JavaSpace.write(net.jini.core.entry.Entry, net.jini.core.transaction.Transaction, long)
,
Constant Field Valuesstatic final byte TAKE
JavaSpace.take(net.jini.core.entry.Entry, net.jini.core.transaction.Transaction, long)
,
Constant Field Valuesstatic final byte EXTEND_LEASE
Lease.renew(long)
,
Constant Field Valuesstatic final byte UPDATE
IJSpace.update(net.jini.core.entry.Entry, net.jini.core.transaction.Transaction, long, long, int)
,
Constant Field Values@Deprecated static final byte DUMMY
discard()
and isDiscarded()
instead
static final byte DISCARD
getOpCode()
after discard()
is called.
discard()
,
Constant Field Valuesstatic final byte LEASE_EXPIRATION
Method Detail |
---|
byte getOpCode()
void setOpCode(byte 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 |