public class SpaceReplicaBatch extends Object implements Collection<ISpaceReplicaData>, Externalizable
Constructor and Description |
---|
SpaceReplicaBatch() |
SpaceReplicaBatch(int batchSize) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(ISpaceReplicaData iSpaceReplicaData) |
boolean |
addAll(Collection<? extends ISpaceReplicaData> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
Collection<ISpaceReplicaData> |
getBatch() |
boolean |
isEmpty() |
Iterator<ISpaceReplicaData> |
iterator() |
void |
readExternal(ObjectInput in) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
void |
setBatch(Collection<ISpaceReplicaData> batch) |
int |
size() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
equals, hashCode, parallelStream, removeIf, spliterator, stream
public SpaceReplicaBatch()
public SpaceReplicaBatch(int batchSize)
public Collection<ISpaceReplicaData> getBatch()
public void setBatch(Collection<ISpaceReplicaData> batch)
public int size()
size
in interface Collection<ISpaceReplicaData>
public boolean isEmpty()
isEmpty
in interface Collection<ISpaceReplicaData>
public boolean contains(Object o)
contains
in interface Collection<ISpaceReplicaData>
public Iterator<ISpaceReplicaData> iterator()
iterator
in interface Iterable<ISpaceReplicaData>
iterator
in interface Collection<ISpaceReplicaData>
public Object[] toArray()
toArray
in interface Collection<ISpaceReplicaData>
public <T> T[] toArray(T[] a)
toArray
in interface Collection<ISpaceReplicaData>
public boolean add(ISpaceReplicaData iSpaceReplicaData)
add
in interface Collection<ISpaceReplicaData>
public boolean remove(Object o)
remove
in interface Collection<ISpaceReplicaData>
public boolean containsAll(Collection<?> c)
containsAll
in interface Collection<ISpaceReplicaData>
public boolean addAll(Collection<? extends ISpaceReplicaData> c)
addAll
in interface Collection<ISpaceReplicaData>
public boolean removeAll(Collection<?> c)
removeAll
in interface Collection<ISpaceReplicaData>
public boolean retainAll(Collection<?> c)
retainAll
in interface Collection<ISpaceReplicaData>
public void clear()
clear
in interface Collection<ISpaceReplicaData>
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
Copyright © GigaSpaces.