Geode provides a default distributed system configuration for out-of-the-box systems. To use non-default configurations and to fine-tune your member communication, you can use a mix of various options to customize your distributed system configuration.
Geode properties are used to join a distributed system and configure system member behavior. Configure your Geode properties through the gemfire.properties
file, the Java API, or command-line input. Generally, you store all your properties in the gemfire.properties
file, but you may need to provide properties through other means, for example, to pass in security properties for a username and password that you have received from keyboard input.
Note:
Check with your Geode system administrator before changing properties through the API, including the gemfire.properties
and gfsecurity.properties
settings. The system administrator may need to set properties at the command line or in configuration files. Any change made through the API overrides those other settings.
Note:
The product defaultConfigs
directory has a sample gemfire.properties
file with all default settings.
Set distributed system properties by any combination of the following. The system looks for the settings in the order listed:
java.lang.System
property setting. Usually set at the command line. For applications, set these in your code or at the command line.Naming: Specify these properties in the format
gemfire.property-name
, whereproperty-name
matches the name in thegemfire.properties
file. To set the gemfire property file name, usegemfirePropertyFile
by itselfIn the API, set the
System
properties before the cache creation call. Example:System.setProperty("gemfirePropertyFile", "gfTest"); System.setProperty("gemfire.mcast-port", "10999"); Cache cache = new CacheFactory().create();
At the
java
command line, pass inSystem
properties using the-D
switch. Example:java -DgemfirePropertyFile=gfTest -Dgemfire.mcast-port=10999 test.Program
Entry in a
Properties
object.Naming: Specify these properties using the names in the
gemfire.properties
file. To set the gemfire property file name, usegemfirePropertyFile
.In the API, create a
Properties
object and pass it to the cache create method. Example:Properties properties= new Properties(); properties.setProperty("log-level", "warning"); properties.setProperty("name", "testMember2"); ClientCache userCache = new ClientCacheFactory(properties).create();
For the cache server, pass the properties files on the
gfsh
command line as command-line options. Example:gfsh>start server --name=server_name --mcast-port=10338 --properties-file=serverConfig/gemfire.properties --security-properties-file=gfsecurity.properties
See Running Geode Server Processes for more information on running cache servers.
Entry in a
gemfire.properties
file. See Deploying Configuration Files without the Cluster Configuration Service. Example:cache-xml-file=cache.xml conserve-sockets=true disable-tcp=false
Default value. The default values are defined within the API for
org.apache.geode.distributed.ConfigurationProperties
.


|
CubeAnimator
An animation tool for cube map to fisheye conversion.
|
#include <QDebug>
#include <QMap>
#include <QFile>
#include <QFileInfo>
#include <QDir>
Go to the source code of this file.
Functions | |
| QMap< int, QString > | getFramesForMask (QString filePath, QString mask) |
| QString | getMaskForFile (QString fileName) |
| QMap< int, QString > | getFramesForFile (QString filePath) |
A collection of inline functions to find frames of a same sequence based on files name.
CubeAnimator accepts any file name in the format "name.extension". Furthermore, it will look for sequence of files named "whateverXwhatever.extension" where X is a numeral. So if you drop a file called "name.png" on one of the face, then files like "name0.png" or "name21.png" will be used in the sequence. Also if you load a file called "name1.png", it will detect all files named "nameX.png". If it is called "name2top.png", then it will detect all files named "nameXtop.png". In case you a have file whose name contains two or more numerals, such as "name1_1.png", CubeAnimator will detect files names "name1_X.png" as being part of a the same sequence.
| QMap<int, QString> getFramesForFile | ( | QString | filePath | ) | [inline] |
Returns a sorted list of file names of all the images in the same sequence as filePath.
| filePath | A QString representing the path to a file |
| QMap<int, QString> getFramesForMask | ( | QString | filePath, |
| QString | mask | ||
| ) | [inline] |
Returns a sorted list of file names of all the images in the same sequence as filePath, filtered using mask.
| filePath | A QString representing the path to a file |
| mask | A QString used as a mask to match files in filePath's directory (e.g. "top_*.png") |
| QString getMaskForFile | ( | QString | fileName | ) | [inline] |
Returns a mask (e.g. "top_*.png") to find images of the same sequence as fileName
| fileName | A file name (extension included) |


--- layout: main title: AWRA | Helpful Links ---
Below are links to various organizations and entities that you may find of interest.


UB.swift
UB.swift is the swift implementation of the Ultralight Beam protocol, its primary focus is to provide an SDK for iOS and OSX devices.
Requirements
- iOS 9 or later
- OSX 10.13 or later
- Swift 5.0 or later
Installation
Swift Package Manager
dependencies: [
.package(url: "https://github.com/ultralight-beam/UB.swift.git", from("0.1.0")),
],
targets: [
.target(
name: "Target",
dependencies: ["UB"]
),
]
Cocoapods
pod 'UB'
Usage
Using the UB within your own project is kept simple. Initialize a Node
, and assign delegate
which will then be notified of received messages. Various transport
s can be added to a Node
enabling sending and receiving messages through them.
import UB
let node = Node()
node.delegate = self
node.add(transport: CoreBluetoothTransport())
node.send(...)
License
UB.swift is licensed under the Apache License