class Counter extends DistributedDataStructure
This interface contains methods and parameters for Distributed Counter.
- Alphabetic
- By Inheritance
- Counter
- DistributedDataStructure
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Counter(internalCounter: <error>)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
decrement: Long
Decrement the value of distributed counter by one.
Decrement the value of distributed counter by one.
- returns
Current value of the counter.
-
def
decrementBy(value: Long): Long
Decrement the value of distributed counter by the amount specified.
Decrement the value of distributed counter by the amount specified.
- value
The value to decrement by.
- returns
Current value of the counter.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getKey: String
Gets the name of the data type.
Gets the name of the data type.
- returns
Name of the data type.
- Definition Classes
- Counter → DistributedDataStructure
-
def
getValue: Long
Gets the value of counter.
Gets the value of counter.
- returns
Current value of the counter.
-
def
getWriteThruOptions: WriteThruOptions
Gets the datasource Write Options.
Gets the datasource Write Options.
- returns
Datasource Write Options.
- Definition Classes
- Counter → DistributedDataStructure
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
increment: Long
Increment the value of distributed counter by one.
Increment the value of distributed counter by one.
- returns
Current value of the counter.
-
def
incrementBy(value: Long): Long
Increment the value of distributed counter by the amount specified.
Increment the value of distributed counter by the amount specified.
- value
The value to increment by.
- returns
Current value of the counter.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
setValue(value: Long): Long
Sets the given value of the counter.
Sets the given value of the counter.
- value
value to be assigned to the counter.
- returns
Current value of the counter.
-
def
setWriteThruOptions(value: WriteThruOptions): Unit
Sets the datasource Write Options.
Sets the datasource Write Options.
- value
WriteThruoptions
- Definition Classes
- Counter → DistributedDataStructure
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated